enableGunLights: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 33: Line 33:
<dt class="note">[[User:kju|kju]]
<dt class="note">[[User:kju|kju]]
<dd class="note">This command can be used to force lights on, but not to force lights off. ([http://dev-heaven.net/issues/13041#note-13 Source])
<dd class="note">This command can be used to force lights on, but not to force lights off. ([http://dev-heaven.net/issues/13041#note-13 Source])
<dd class="notedate">Posted on 17 April, 2013
<dt class="note">[[User:cobra4v320|cobra4v320]]
<dd class="note">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". ([http://forums.bistudio.com/showthread.php?153141-enableGunLights-correction-for-wiki Source])





Revision as of 18:20, 17 April 2013

Hover & click on the images for description

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
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