isCollisionLightOn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - " *\|arguments= * " to " ") |
||
Line 7: | Line 7: | ||
|gr1 = Lights | |gr1 = Lights | ||
|arg= global | |arg= global | ||
| Returns [[true]] if vehicle collision lights are on otherwise [[false]]. | | Returns [[true]] if vehicle collision lights are on otherwise [[false]]. |
Revision as of 15:49, 7 February 2021
Description
- Description:
- Description needed
- Groups:
- Lights
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicle: Object
- Return Value:
- Return value needed
Examples
- Example 1:
_collisionLightOn = isCollisionLightOn heli;
Additional Information
- See also:
- See also needed
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"];