enableGunLights: Difference between revisions
Jump to navigation
Jump to search
cobra4v320 (talk | contribs) No edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
|p1= thing: [[Object]] or [[Group]] - the unit or the group forced to use gun lights |= Parameter 1 | |p1= thing: [[Object]] or [[Group]] - the unit or the group forced to use gun lights |= Parameter 1 | ||
|p2= value: [[Boolean]] - true/false |= Parameter 2 | |p2= value: [[Boolean]] - true/false / [[String]] (Arma 3) - "AUTO", "forceOn", "forceOff" |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 11:49, 13 July 2013
Description
- Description:
- Force the AI to use gun lights
- Groups:
- Uncategorised
Syntax
- Syntax:
- thing enableGunLights value
- Parameters:
- thing: Object or Group - the unit or the group forced to use gun lights
- value: Boolean - true/false / String (Arma 3) - "AUTO", "forceOn", "forceOff"
- Return Value:
- Nothing
Examples
- Example 1:
group enableGunLights true
- Example 2:
unitName enableGunLights true
Additional Information
- See also:
- See also needed
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
- Posted on 27 July, 2011
- kju
- This command can be used to force lights on, but not to force lights off. (Source)
- Posted on 17 April, 2013
- cobra4v320
- In order for this command to work in ARMA 3 you should use groupname enableGunLights "AUTO" or soldierOne enableGunLights "AUTO". Other options are "forceOn" or "forceOff". (Source)
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
- ArmA 2 OA: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters