Lights – Arma 3
Jump to navigation
Jump to search
m (Used wip template) |
Killzone Kid (talk | contribs) |
||
Line 4: | Line 4: | ||
== Overview == | == Overview == | ||
=== Headlights === | === Headlights === | ||
If a vehicle has headlights, they are usually available for the driver of the vehicle and if the driver is a human player, the headlights could be operated via keyboard binding (normally <tt>L</tt>) or scroll action menu. If the driver is AI, it will operate the headlights depending on some preset condition. For example it will turn the lights at night and turn them off in the day time. The exact time when AI may decide to use the lights is slightly randomized. | |||
From scripts the headlights could be operated via either the script command [[setPilotLight]] or the actions <tt>"LightOn"</tt> and <tt>"LightOff"</tt>. If a human player is the driver/pilot, the commands will work unconditionally. However if AI is driving or piloting, then it might resist lights status change. | |||
==== Overriding ==== | ==== Overriding ==== | ||
=== Collision Lights === | === Collision Lights === | ||
==== Overriding ==== | ==== Overriding ==== |
Revision as of 19:02, 26 February 2019
Vehicle Lights
Overview
Headlights
If a vehicle has headlights, they are usually available for the driver of the vehicle and if the driver is a human player, the headlights could be operated via keyboard binding (normally L) or scroll action menu. If the driver is AI, it will operate the headlights depending on some preset condition. For example it will turn the lights at night and turn them off in the day time. The exact time when AI may decide to use the lights is slightly randomized.
From scripts the headlights could be operated via either the script command setPilotLight or the actions "LightOn" and "LightOff". If a human player is the driver/pilot, the commands will work unconditionally. However if AI is driving or piloting, then it might resist lights status change.