enableGunLights Arma 2: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "^#redirect \[\[" to "#REDIRECT [[")
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
#REDIRECT [[enableGunLights]]
____________________________________________________________________________________________
 
| arma2oa |Game name=
 
|1.51|= Game version
 
|arg= local |Multiplayer Arguments=
 
|eff= global |Multiplayer Effects=
____________________________________________________________________________________________
 
| Force the AI to use gun lights. This command can be used to force lights on, but not to force lights off |DESCRIPTION=
____________________________________________________________________________________________
 
| thing '''enableGunLights''' value |SYNTAX=
 
|p1= thing: [[Object]] or [[Group]] - the unit or the group forced to use gun lights |PARAMETER1=
|p2= value:  [[Boolean]]  |PARAMETER2=
 
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_group [[enableGunLights]] [[true]];</code> |EXAMPLE1=
 
|x2= <code>_unit [[enableGunLights]] [[false]];</code> |EXAMPLE2=
____________________________________________________________________________________________
 
| [[isFlashlightOn]] |SEEALSO=
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
 
</dl>
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:03, 24 June 2022

Redirect to: