enableIRLasers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| thing '''enableIRLasers''' value |= Syntax
| thing '''enableIRLasers''' value |SYNTAX=


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


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



Revision as of 14:38, 7 April 2019

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
(units 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