isIRLaserOn: Difference between revisions

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


\|r1= [[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 11:31, 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