isCollisionLightOn

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.32
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.32

Description

Description:
Returns true if vehicle collision lights are on otherwise false.

Syntax

Syntax:
isCollisionLightOn vehicle
Parameters:
vehicle: Object
Return Value:
Boolean

Examples

Example 1:
_collisionLightOn = isCollisionLightOn heli;

Additional Information

Multiplayer:
-
See also:
isEngineOnisLightOnsetPilotLightsetCollisionLightisIRLaserOn

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

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"];