isLightOn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=") |
||
Line 16: | Line 16: | ||
|p1= vehicle: [[Object]] - vehicle with headlights | |p1= vehicle: [[Object]] - vehicle with headlights | ||
| [[Boolean]] | |r1= [[Boolean]] | ||
|s2= [[isLightOn]] [vehicle, turret] | |s2= [[isLightOn]] [vehicle, turret] |
Revision as of 15:34, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Lights
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicle: Object - vehicle with headlights
- Return Value:
- Boolean
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
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