enableIRLasers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2oa | | arma2oa | ||
|1.51 | |1.51 | ||
|arg= local | |arg= local | ||
|eff= global | |eff= global | ||
|gr1= Weapons | |gr1= Weapons | ||
| Allows the AI to use IR lasers. | | Allows the AI to use IR lasers. | ||
| unitOrGroup [[enableIRLasers]] value | | unitOrGroup [[enableIRLasers]] value | ||
|p1= unitOrGroup: [[Object]] or [[Group]] - the unit or the group allowed to use IR lasers | |p1= unitOrGroup: [[Object]] or [[Group]] - the unit or the group allowed to use IR lasers | ||
|p2= value: [[Boolean]] | |p2= value: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[group]] [[player]] [[enableIRLasers]] [[true]]</code> | |x1= <code>[[group]] [[player]] [[enableIRLasers]] [[true]]</code> | ||
| [[isIRLaserOn]], [[enableGunLights]], [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[setCollisionLight]] | | [[isIRLaserOn]], [[enableGunLights]], [[isLightOn]], [[isCollisionLightOn]], [[setPilotLight]], [[setCollisionLight]] | ||
}} | }} | ||
Revision as of 00:37, 18 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