setCollisionLight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *p([0-9]{1,2}) *= *(.+) * + \| *(\[\[Noth.+) * " to " |p$1=$2 |r1=$3 ")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 11: Line 11:
|eff= global
|eff= global


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


|s1=  vehicle [[setCollisionLight]] set
|s1=  vehicle [[setCollisionLight]] set

Revision as of 21:21, 13 June 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