Community Forum

Is there a way to get all purchasable items in the store into a table?

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created26.10.2016 11:27


Tristan Dow (Unknown) 26.10.2016 11:29
I am trying to get all the items from the store into each respectable table in LUA.
tables include (ex... Tractors, frontLoaders etc..)
If I can figure out how to do just one, I can do the rest.
I'm not sure if I need to iterate through each XML file (like I would in C#) or if there is an easier way to do it.

Thanks in advance.

Emil Drefers (Unknown) 27.10.2016 08:53
Hi,

https://gdn.giants-software.com/documentation_scripting.php?version=script&category=69&class=1670#loadFinished23224

line 182, there is util class used, which can help you to find all vehicles in the store.

Cheers,
Emil



Note: Log in to post. Create a new account here.