setCollisionLight: Difference between revisions
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]] |= | |p1= vehicle: [[Object]] |PARAMETER1= | ||
|p2= set: [[Boolean]] |= | |p2= set: [[Boolean]] |PARAMETER1= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>heli [[setCollisionLight]] [[true]];</code>|= | |x1= <code>heli [[setCollisionLight]] [[true]];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[isIRLaserOn]], [[engineOn]], [[isEngineOn]]|= | | [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[isIRLaserOn]], [[engineOn]], [[isEngineOn]]|SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:36, 7 April 2019
Description
- Description:
- Switches collision lights of a vehicle on/off. Note that the vehicle has to be local.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
heli setCollisionLight true;
Additional Information
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