Community Forum

Don't works: g_currentMission:getSiloAmount(Fillable.FILLTYPE_WHEAT)

Forum Overview >> Scripting

CategoryScripting
Created09.11.2016 10:06


Takagami Fuyu (Unknown) 09.11.2016 10:09
FS 17 Scripting:
Don't works: g_currentMission:getSiloAmount(Fillable.FILLTYPE_WHEAT)
It did not work, since in FS17 is used the other method. Which method should be used in this case?
P.s. In FS15 this method worked

Bert Bkp (Bkp666) 10.11.2016 17:18
Try this g_currentMission:getSiloAmount(FillUtil.FILLTYPE_WHEAT)

Takagami Fuyu (Unknown) 11.11.2016 08:15
Displays an error: "attempt to call method 'getSiloAmount' (a nil value)"

Bert Bkp (Bkp666) 11.11.2016 09:27
Hmm try with getFillLevel instead of getSiloAmount

Takagami Fuyu (Unknown) 11.11.2016 16:53
And.. displays an error: "attempt to call method 'getFillLevel' (a nil value)"


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