Community Forum

Problem with trailer when i want to unload

Forum Overview >> Editor

Created06.12.2016 01:21

Jose Javier (josejavier3) 06.12.2016 01:22
Hello, Im trying to convert a tractor, but when I want to unload i canĀ“t, This is the error that i can see in log,txt:
dataS/scripts/vehicles/specializations/Trailer.lua(515) : attempt to index a nil value
Error: Running LUA method 'update'
How can I fix it?

Jose Javier (josejavier3) 06.12.2016 01:56

Bilbo Beutlin (BBeutlin) 06.12.2016 20:09
A required node is missing, probably not or wrong defined in the xml.
Compare a standard trailer.xml with your mod and search for missing xml entries.
Or look into documentation of "Trailer.lua", line 515 and validate the required datas are assigned in your mod i3d and xml.

Jose Javier (josejavier3) 06.12.2016 23:25
Hello, and where I can found the documentation??

Bilbo Beutlin (BBeutlin) 07.12.2016 00:15
LOL .. never looked around on this site?
see Documentation -> Scripting API Reference -> Specializations -> Trailer

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