setCollisionLight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 11: Line 10:


|eff= global |MPeff=
|eff= global |MPeff=
____________________________________________________________________________________________


| Switches collision lights of a vehicle on/off. |DESCRIPTION=
| Switches collision lights of a vehicle on/off. |DESCRIPTION=
____________________________________________________________________________________________


| vehicle [[setCollisionLight]] set |SYNTAX=
| vehicle [[setCollisionLight]] set |SYNTAX=
Line 23: Line 20:


| [[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=

Revision as of 03:29, 17 January 2021

Hover & click on the images for description

Description

Description:
Switches collision lights of a vehicle on/off.
Groups:
Lights

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