isCollisionLightOn: Difference between revisions
| Lou Montana (talk | contribs) | Lou Montana (talk | contribs)  m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") | ||
| Line 17: | Line 17: | ||
| |x1= <code>_collisionLightOn =  | |x1= <code>_collisionLightOn = isCollisionLightOn heli;</code> | ||
| |seealso= [[isEngineOn]] [[isLightOn]] [[setPilotLight]] [[setCollisionLight]] [[isIRLaserOn]] | |seealso= [[isEngineOn]] [[isLightOn]] [[setPilotLight]] [[setCollisionLight]] [[isIRLaserOn]] | ||
Revision as of 11:09, 12 May 2022
Description
Syntax
- Syntax:
- isCollisionLightOn vehicle
- Parameters:
- vehicle: Object
- Return Value:
- Boolean
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"];
 
	