setCollisionLight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|eff= global |=" to "|eff= global |MPeff=")
Line 6: Line 6:
|1.32|Game version=
|1.32|Game version=


|arg= local |=
|arg= local |MParg=
 
|eff= global |MPeff=
|eff= global |MPeff=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Switches collision lights of a vehicle on/off. Note that the vehicle has to be [[local]]. |DESCRIPTION=
| Switches collision lights of a vehicle on/off. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle '''setCollisionLight''' set |SYNTAX=
| vehicle [[setCollisionLight]] set |SYNTAX=


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


|p2= set: [[Boolean]]  |PARAMETER2=


| [[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 23:59, 4 September 2019

Hover & click on the images for description

Description

Description:
Switches collision lights of a vehicle on/off.
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