isCollisionLightOn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|arg= global|arguments= | |arg= global|arguments= | ||
| Returns [[true]] if vehicle collision lights are on otherwise [[false]]. |DESCRIPTION= | | Returns [[true]] if vehicle collision lights are on otherwise [[false]]. |DESCRIPTION= | ||
| '''isCollisionLightOn''' vehicle |SYNTAX= | | '''isCollisionLightOn''' vehicle |SYNTAX= | ||
Line 24: | Line 21: | ||
|x1= <code>_collisionLightOn = [[isCollisionLightOn]] heli;</code>|EXAMPLE1= | |x1= <code>_collisionLightOn = [[isCollisionLightOn]] heli;</code>|EXAMPLE1= | ||
| [[isEngineOn]], [[isLightOn]], [[setPilotLight]], [[setCollisionLight]], [[isIRLaserOn]] |SEEALSO= | | [[isEngineOn]], [[isLightOn]], [[setPilotLight]], [[setCollisionLight]], [[isIRLaserOn]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 01:45, 17 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"];