Category | Scripting |
Created | 06.01.2017 17:52 |
Maxime Coipel (Unknown) | 06.01.2017 17:55 |
---|---|
bonjour jai un petit problème avec le script lua universalToggleParts local baseString = string.format("vehicle.universalToggleParts.part(%d)", i); local node = getXMLString(xmlFile, baseString.."#node"); if not hasXMLProperty(xmlFile, baseString) then LUA call stack: =D:/Documents/My Games/FarmingSimulator2017/mods/fendt/Scripts/universalToggleParts.lua (99) : getXMLString dataS/scripts/vehicles/Vehicle.lua (622) dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction Warning (LUA): 'hasXMLProperty': Argument 1 has wrong type. Expected: Int. Actual: Nil ..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (630): expectedType == Value::VoidType LUA call stack: =D:/Documents/My Games/FarmingSimulator2017/mods/fendt/Scripts/universalToggleParts.lua (100) : hasXMLProperty dataS/scripts/vehicles/Vehicle.lua (622) dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction |
Bilbo Beutlin (BBeutlin) | 06.01.2017 19:31 |
---|---|
The "universalToggleParts.lua" is from FS15. You can't use it without massive changes in FS17. |
Note: Log in to post. Create a new account here.