isIRLaserOn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
Line 15: Line 15:
|p2= weapon: [[String]]
|p2= weapon: [[String]]


| [[Boolean]]
\|r1= [[Boolean]]


|x1= <code>[[player]] [[isIRLaserOn]] [[currentWeapon]] [[player]];</code>
\|x1= <code>[[player]] [[isIRLaserOn]] [[currentWeapon]] [[player]];</code>


|seealso= [[enableIRLasers]], [[enableGunLights]], [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[setCollisionLight]]
|seealso= [[enableIRLasers]], [[enableGunLights]], [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[setCollisionLight]]
}}
}}

Revision as of 10:24, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Lights

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
weapon: String \
Return Value:
Boolean \

Examples

Example 1:
player isIRLaserOn currentWeapon player;

Additional Information

See also:
enableIRLasersenableGunLightsisLightOnisCollisionLightOnsetPilotLightsetCollisionLight

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