enableGunLights Arma 2: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "^#redirect \[\[" to "#REDIRECT [[")
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
#REDIRECT [[enableGunLights]]
____________________________________________________________________________________________
 
| arma2oa |Game name=
 
|1.51|Game version=
 
|gr1 = Lights |GROUP1=
 
|gr2 = Weapons |GROUP2=
 
|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]] |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}}}}]]
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 00:03, 25 June 2022

Redirect to: