Head, tail lights that can be toggled on/off through scripting, as well as brake and reverse lights that are automatically enabled based on the current vehicle input.

Note: If you are targeting a mobile platform, depending on the device and scope of your game, you may want to disable the head and tails lights for a performance gain; these lights add detail that may not be required.

Scripting

Make a reference to the vehicles CarLights script and call EnableHeadLights () or DisableHeadLights () to toggle the head lights.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
For customer support, please contact us here.

Post Comment