Community Forum

Truck mod error: Entity 'coronaWhiteHigh' has invalid type in method 'getLightColor'

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created25.05.2017 13:44


Maxime Pilote (Unknown) 25.05.2017 13:44
Hi everyone,
I'm having an error on a mod I've almost finished and it bothers me quite a bit, I can't figure out how to fix it...

Seems it's related to the lights coronas, but everything seems fine in G.E. and the game...

Anyone can tell me how to fix it?

Thanks.

Maxime Pilote (Unknown) 25.05.2017 14:45
I finally fixed it...

Was a mistake I made with the indexes when I added some lights in the XML file.

Jeffrey May (Unknown) 25.08.2017 09:06
Not sure how often you check stuff but I have a similar problem that maybe you can give me a hand with as finding an answer online has been terrible. I'm a novice when it comes to this I can fix minor stuff and currently, this is what I have error wise.


Warning: 'aiTrafficCollisionTrigger' is not a kinematic body type
Warning (Script): Entity 'coronas' has invalid type in method 'getLightColor'.
LUA call stack:
dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor
dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights
dataS/scripts/vehicles/specializations/Lights.lua (160) : loadLightSetup
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Warning (Script): Entity 'coronas' has invalid type in method 'getLightColor'.
LUA call stack:
dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor
dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights
dataS/scripts/vehicles/specializations/Lights.lua (161) : loadLightSetup
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction


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