enableIRLasers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2oa |Game name= | | arma2oa |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Weapons |GROUP1= | |gr1= Weapons |GROUP1= | ||
| Allows the AI to use IR lasers. |DESCRIPTION= | | Allows the AI to use IR lasers. |DESCRIPTION= | ||
| unitOrGroup [[enableIRLasers]] value |SYNTAX= | | unitOrGroup [[enableIRLasers]] value |SYNTAX= | ||
Line 23: | Line 20: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[group]] [[player]] [[enableIRLasers]] [[true]]</code> |EXAMPLE1= | |x1= <code>[[group]] [[player]] [[enableIRLasers]] [[true]]</code> |EXAMPLE1= | ||
| [[isIRLaserOn]], [[enableGunLights]], [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[setCollisionLight]] |SEEALSO= | | [[isIRLaserOn]], [[enableGunLights]], [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[setCollisionLight]] |SEEALSO= |
Revision as of 01:22, 17 January 2021
Description
- Description:
- Allows the AI to use IR lasers.
- Groups:
- Weapons
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: Weapons
- Scripting Commands: Global Effect
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands