isCollisionLightOn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (template:command argument fix) |
||
Line 14: | Line 14: | ||
| '''isCollisionLightOn''' vehicle |= Syntax | | '''isCollisionLightOn''' vehicle |= Syntax | ||
|p1= vehicle: [[Object]] |= | |p1= vehicle: [[Object]] |PARAMETER1= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>_collisionLightOn = [[isCollisionLightOn]] heli;</code>|= | |x1= <code>_collisionLightOn = [[isCollisionLightOn]] heli;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[isEngineOn]], [[isLightOn]], [[setPilotLight]], [[setCollisionLight]], [[isIRLaserOn]] |= | | [[isEngineOn]], [[isLightOn]], [[setPilotLight]], [[setCollisionLight]], [[isIRLaserOn]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:34, 7 April 2019
Description
- Description:
- Returns true if vehicle collision lights are on otherwise false.
- Groups:
- Uncategorised
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"];