isCollisionLightOn: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "</dd> </dl>" to "</dd>  </dl>") | Lou Montana (talk | contribs)  m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2  |descr=$3") | ||
| Line 9: | Line 9: | ||
| |arg= global | |arg= global | ||
| | Returns [[true]] if vehicle collision lights are on otherwise [[false]]. | |descr= Returns [[true]] if vehicle collision lights are on otherwise [[false]]. | ||
| |s1=  '''isCollisionLightOn''' vehicle | |s1=  '''isCollisionLightOn''' vehicle | ||
Revision as of 21:11, 13 June 2021
Description
Syntax
Examples
- Example 1:
- _collisionLightOn = isCollisionLightOn heli;
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
- Posted on April 6, 2015 - 08:25 (UTC)
- Killzone Kid
- 
Bind Collision light action to UserAction 2
this addAction ["", { _this select 1 action [ ["CollisionLightOn", "CollisionLightOff"] select isCollisionLightOn (_this select 0), _this select 0 ]; }, "", -10, false, true, "User2", "_this == driver _target"];
