isCollisionLightOn: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") | Lou Montana (talk | contribs)  m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) | ||
| Line 1: | Line 1: | ||
| {{Command | {{Command | ||
| | arma3  | | arma3 | ||
| |1.32 | |1.32 | ||
| |gr1 = Lights  | |gr1 = Lights | ||
| |arg= global|arguments= | |arg= global|arguments= | ||
| | Returns [[true]] if vehicle collision lights are on otherwise [[false]].  | | Returns [[true]] if vehicle collision lights are on otherwise [[false]]. | ||
| | '''isCollisionLightOn''' vehicle  | | '''isCollisionLightOn''' vehicle | ||
| |p1= vehicle: [[Object]]  | |p1= vehicle: [[Object]] | ||
| | [[Boolean]]  | | [[Boolean]] | ||
| |x1= <code>_collisionLightOn = [[isCollisionLightOn]] heli;</code> | |x1= <code>_collisionLightOn = [[isCollisionLightOn]] heli;</code> | ||
| |  [[isEngineOn]], [[isLightOn]], [[setPilotLight]], [[setCollisionLight]], [[isIRLaserOn]]  | |  [[isEngineOn]], [[isLightOn]], [[setPilotLight]], [[setCollisionLight]], [[isIRLaserOn]] | ||
| |  |MPBEHAVIOUR=   | |  |MPBEHAVIOUR=   | ||
Revision as of 00:40, 18 January 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
Notes
Bottom Section
- 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"];
 
	