setCollisionLight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.32


|1.32|Game version=
|gr1= Lights


|gr1 = Lights |GROUP1=
|arg= local


|arg= local |MParg=
|eff= global


|eff= global |MPeff=
|descr= Switches collision lights of a vehicle on/off.
____________________________________________________________________________________________


| Switches collision lights of a vehicle on/off. |DESCRIPTION=
|s1= vehicle [[setCollisionLight]] set
____________________________________________________________________________________________


| vehicle [[setCollisionLight]] set |SYNTAX=
|p1= vehicle: [[Object]]


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


|p2= set: [[Boolean]]  |PARAMETER2=
|r1= [[Nothing]]
 
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>heli [[setCollisionLight]] [[true]];</code> |EXAMPLE1=
|x1= <sqf>heli setCollisionLight true;</sqf>
____________________________________________________________________________________________


| [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[isIRLaserOn]], [[engineOn]], [[isEngineOn]]|SEEALSO=
|seealso= [[isLightOn]] [[isCollisionLightOn]] [[setPilotLight]] [[isIRLaserOn]] [[engineOn]] [[isEngineOn]]
 
|  |MPBEHAVIOUR=
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>

Latest revision as of 10:24, 13 May 2022

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:
isLightOn isCollisionLightOn setPilotLight isIRLaserOn engineOn isEngineOn

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