enableIRLasers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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|Comments=
{{Command


| arma2oa |Game name=
| arma2oa


|1.51|Game version=
|1.51


|arg= local |Multiplayer Arguments=
|arg= local


|eff= global |Multiplayer Effects=
|eff= global


|gr1= Weapons |GROUP1=
|gr1= Weapons


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


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


|p1= unitOrGroup: [[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


|p2= value: [[Boolean]] |PARAMETER2=
|p2= value: [[Boolean]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>[[group]] [[player]] [[enableIRLasers]] [[true]]</code> |EXAMPLE1=
|x1= <code>[[group]] [[player]] [[enableIRLasers]] [[true]]</code>


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



Revision as of 00:37, 18 January 2021

Hover & click on the images for description

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

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