setCollisionLight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (action variant is actually not global)
m (template:command argument fix)
Line 15: Line 15:
| vehicle '''setCollisionLight''' set |= Syntax
| vehicle '''setCollisionLight''' set |= Syntax


|p1= vehicle: [[Object]]  |= PARAMETER1
|p1= vehicle: [[Object]]  |PARAMETER1=  
|p2= set: [[Boolean]]  |= PARAMETER1
|p2= set: [[Boolean]]  |PARAMETER1=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




   
   
|x1= <code>heli [[setCollisionLight]] [[true]];</code>|= EXAMPLE1
|x1= <code>heli [[setCollisionLight]] [[true]];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


|  [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[isIRLaserOn]], [[engineOn]], [[isEngineOn]]|= SEEALSO
|  [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[isIRLaserOn]], [[engineOn]], [[isEngineOn]]|SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:36, 7 April 2019

Hover & click on the images for description

Description

Description:
Switches collision lights of a vehicle on/off. Note that the vehicle has to be local.
Groups:
Uncategorised

Syntax

Syntax:
vehicle setCollisionLight set
Parameters:
vehicle: Object
set: Boolean
Return Value:
Nothing

Examples

Example 1:
heli setCollisionLight true;

Additional Information

See also:
isLightOnisCollisionLightOnsetPilotLightisIRLaserOnengineOnisEngineOn

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