enableGunLights Arma 2: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Arma 2 specific)
 
m (Text replacement - "^#redirect \[\[" to "#REDIRECT [[")
 
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
#REDIRECT [[enableGunLights]]
____________________________________________________________________________________________
 
| arma2oa |= Game name
 
|1.51|= Game version
 
|arg= local |= Arguments in MP
 
|eff= global |= Effects in MP
____________________________________________________________________________________________
 
| 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 |= Parameter 1
|p2= value:  [[Boolean]]  |= Parameter 2
 
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>_group [[enableGunLights]] [[true]];</code> |= Example 1
 
|x2= <code>_unit [[enableGunLights]] [[false]];</code> |= Example 2
____________________________________________________________________________________________
 
| [[isFlashlightOn]] |= See also
 
}}
 
<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: