COMMUNITY FORUM

LUA error - (a nil value)

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created20.06.2017 03:49


Troy Bond (Unknown) 20.06.2017 03:49
Good day, I'm hoping someone can give a little insight into this problem I'm having with a truck that appears while unloading. Any advice or insight much appreciated or direction to a video etc will even help.

Error: Running LUA method 'update'.
dataS/scripts/effects/ShaderPlaneEffect.lua(62) : attempt to perform arithmetic on field 'currentDelay' (a nil value)

The mod in question is a pickup I'm working on but decided to add the ability to load / unload grain from the bed. My basis for writing the tipper functions was based from a stock trailer, everything works fine until you go to unload the truck, fill planes work etc. All particles properly play while unloading.
I've been looking for information for about 2 days so far before posting but most things I find are dated over a year ago for FS15.

Again thanks for any info or pointers of what I should be looking for. Cheers.

Jorn Hiel (fa285634) 22.06.2017 21:05
a nill response is basicly saying that u forgot to add a certain shape or part in the i3d / xml structure. to look for it, open the lua if u can here on gdn and look at line 61-62 to see what it is trying to call.




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