Community Forum

LUA Scripting

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created17.03.2020 18:27


Paul Oberosler (pavll) 17.03.2020 18:27
Is there any possibility to check if a vehicle with an engine has one turne signal turned on?

Bilbo Beutlin (BBeutlin) 17.03.2020 18:44
Yes. You can check the variable '{vehicle}.spec_lights.turnLightState' - this can be
'Lights.TURNLIGHT_RIGHT' or 'Lights.TURNLIGHT_LEFT' or 'Lights.TURNLIGHT_HAZARD' or 'Lights.TURNLIGHT_OFF'
Should be self-explanatory.

Paul Oberosler (pavll) 18.03.2020 14:18
Thank you


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