setCollisionLight: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|eff= global |=" to "|eff= global |MPeff=") |
Lou Montana (talk | contribs) |
||
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 | | Switches collision lights of a vehicle on/off. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicle | | vehicle [[setCollisionLight]] set |SYNTAX= | ||
|p1= vehicle: [[Object]] |PARAMETER1 | |p1= vehicle: [[Object]] |PARAMETER1= | ||
|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 22:59, 4 September 2019
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
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