enableIRLasers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:ArmA 2 OA: New Scripting Commands List" to "[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List")
m (Fix example)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Allows the AI to use IR lasers |DESCRIPTION=
| Allows the AI to use IR lasers. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| thing '''enableIRLasers''' value |SYNTAX=
| unitOrGroup [[enableIRLasers]] value |SYNTAX=


|p1= thing: [[Object]] or [[Group]] - the unit or the group allowed to use IR lasers |PARAMETER1=
|p1= unitOrGroup: [[Object]] or [[Group]] - the unit or the group allowed to use IR lasers |PARAMETER1=
|p2= value: [[Boolean]] - true/false |PARAMETER2=
 
|p2= value: [[Boolean]] |PARAMETER2=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>(units group player) enableIRLasers true</pre> |EXAMPLE1=
|x1= <code>[[group]] [[player]] [[enableIRLasers]] [[true]]</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[isIRLaserOn]], [[enableGunLights]], [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[setCollisionLight]] |SEEALSO=
| [[isIRLaserOn]], [[enableGunLights]], [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[setCollisionLight]] |SEEALSO=
 
}}
}}


Line 37: Line 37:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 20:38, 26 October 2019

Hover & click on the images for description

Description

Description:
Allows the AI to use IR lasers.
Groups:
Uncategorised

Syntax

Syntax:
unitOrGroup enableIRLasers value
Parameters:
unitOrGroup: Object or Group - the unit or the group allowed to use IR lasers
value: Boolean
Return Value:
Nothing

Examples

Example 1:
group player enableIRLasers true

Additional Information

See also:
isIRLaserOnenableGunLightsisLightOnisCollisionLightOnsetPilotLightsetCollisionLight

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

Notes

Bottom Section