isLightOn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
||
Line 20: | Line 20: | ||
|s2= [[isLightOn]] [vehicle, turret] | |s2= [[isLightOn]] [vehicle, turret] | ||
|p21= vehicle: [[Object]] - vehicle with search light on a turret | |p21= vehicle: [[Object]] - vehicle with search light on a turret | ||
|p22= turret: [[Array]] - turret path | |p22= turret: [[Array]] - turret path | ||
|r2= [[Boolean]] | |r2= [[Boolean]] |
Revision as of 18:11, 29 January 2021
Description
- Description:
- Description needed
- Groups:
- Lights
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicle: Object - vehicle with headlights
- Return Value:
- Return value needed
Alternative Syntax
- Syntax:
- isLightOn [vehicle, turret]
- Parameters:
- vehicle: Object - vehicle with search light on a turret
- turret: Array - turret path
- Return Value:
- Boolean
Examples
- Example 1:
_headlightsOn = isLightOn vehicle player;
- Example 2:
_pilotLightOn = isLightOn heli;
- Example 3:
_searchLightOn = isLightOn [heli, [0]];
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note