enableGunLights Arma 2: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix description)
m (Text replacement - "^#redirect \[\[" to "#REDIRECT [[")
 
(15 intermediate revisions by 2 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.
{{Feature arma3 | This syntax is for {{arma2oa}}. For {{arma3}} syntax, see [[enableGunLights]].}} |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=
____________________________________________________________________________________________
 
| [[enableGunLights]] [[:Category:Command Group: Lights]] |SEEALSO=
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
 
</dl>
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Lights]]

Latest revision as of 23:03, 24 June 2022

Redirect to: