Error When trying to spawn in edited mod, please help!

Your forum for all discussions around Modding.
soprobro14
Posts: 3
Joined: Sun Aug 05, 2018 10:26 pm

Error When trying to spawn in edited mod, please help!

Post by soprobro14 »

Hi I edited a mod and added an attachment to it and then when I go into game and try to spawn it, it will be stuck on the screen "your selection is being purchased" and if I hit escape, I can't do anything, but look around with my mouse! I'm also presented with this error in the console:
LUA call stack:
dataS/scripts/vehicles/specialization/Steerable.lua(555):getWorldTranslation
dataS/scripts/BaseMission.lua(2466):getDistanceToObject
dataS/scripts/BaseMission.lua(1702):getInteractiveVehicleInRange
dataD/scripts/FSBaseMission.lua(2187):update
dataS/scripts/mssions/mission00.lua(346):update
dataS/scripts/main.lua(1922):update
Error: Running LUA method 'update'
dataS/scripts/vehicles/specializations/Steerable.lua(556): attempt to perform arithmetic on local 'vx' (a nil value) Warning (LUA):'getWorldTranslation': Argument 1 has wrong type. Expected:Int.Actual:Nil
..\..\..\src\base\scripting\lua\LuaScriptSystem.ccp(640): expectedType == Value::VoidType
any help would be greatly appreciated. Also this error keeps repeating over and over.