enableGunLights Arma 2: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - "^#redirect \[\[" to "#REDIRECT [[")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
#REDIRECT [[enableGunLights]]
 
| arma2oa
 
|1.51
 
|gr1 = Lights
 
|gr2 = Weapons
 
|arg= local
 
|eff= global
 
| Force the AI to use gun lights. This command can be used to force lights on, but not to force lights off.
{{Feature|arma3 | This syntax is for {{arma2oa}}. For {{arma3}} syntax, see [[enableGunLights]].}}
 
| thing [[enableGunLights]] value
 
|p1= thing: [[Object]] or [[Group]] - the unit or the group forced to use gun lights
 
|p2= value: [[Boolean]]
 
| [[Nothing]]
 
|x1= <code>_group [[enableGunLights]] [[true]];</code>
 
|x2= <code>_unit [[enableGunLights]] [[false]];</code>
 
| [[enableGunLights]]
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
 
</dl>
 
<h3 style="display:none">Bottom Section</h3>
 
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 00:03, 25 June 2022

Redirect to: