enableIRLasers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:ArmA 2 OA: New Scripting Commands List" to "[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List") |
Lou Montana (talk | contribs) m (Fix example) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Allows the AI to use IR lasers |DESCRIPTION= | | Allows the AI to use IR lasers. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | unitOrGroup [[enableIRLasers]] value |SYNTAX= | ||
|p1= | |p1= unitOrGroup: [[Object]] or [[Group]] - the unit or the group allowed to use IR lasers |PARAMETER1= | ||
|p2= value: [[Boolean]] | |||
|p2= value: [[Boolean]] |PARAMETER2= | |||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>[[group]] [[player]] [[enableIRLasers]] [[true]]</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[isIRLaserOn]], [[enableGunLights]], [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[setCollisionLight]] | | [[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: | [[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}}}}]] | ||
Revision as of 20:38, 26 October 2019
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
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
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.51
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters