enableGunLights: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Add tabs)
Line 1: Line 1:
{{User:Lou_Montana/Sandbox2
|selected= 2
|title1= {{Name|arma2oa|short}}/{{Name|tkoh|short}}
|content1=
{{RV|type=command
{{RV|type=command


|game1= arma2oa
|game1= arma2oa
|version1= 1.51
|version1= 1.51


|game2= tkoh
|game2= tkoh
|version2= 1.00
|version2= 1.00
|game3= arma3
|version3= 0.50


|gr1= Lights
|gr1= Lights
|gr2= Weapons
|gr2= Weapons


|arg= local
|arg= local
|eff= global
|eff= global


|descr= Toggles the target group's gun light(s).
|descr= Toggles the target group's gun light(s).
{{Feature|Important|
* '''Syntax''': Only available in '''{{arma2oa}}''' and '''{{tkoh}}'''
* '''Alternative Syntax''': Only available in '''{{arma3}}'''}}


|s1= target [[enableGunLights]] state {{GVI|arma2oa|1.51}}{{GVI|tkoh|1.00}}
|s1= target [[enableGunLights]] state


|p1= target: [[Group]] or [[Object]] - The group forced to use gun lights. If unit is supplied as argument, unit's group is used
|p1= target: [[Group]] or [[Object]] - The group forced to use gun lights. If unit is supplied as argument, unit's group is used
Line 34: Line 29:
|r1= [[Nothing]]
|r1= [[Nothing]]


|s2= target [[enableGunLights]] mode {{GVI|arma3|0.50}}
|x1= <code>_group [[enableGunLights]] [[false]];</code>
 
|seealso= [[isFlashlightOn]]
}}
 
|title2= {{Name|arma3|short}}
|content2=
{{RV|type=command
 
|game1= arma3
|version1= 0.50


|p21= target: [[Group]] or [[Object]] - The group forced to use gun lights. If unit is supplied as argument, unit's group is used
|gr1= Lights
|gr2= Weapons


|p22= mode: [[String]] - Can be:
|arg= local
|eff= global
 
|descr= Toggles the target group's gun light(s).
 
|s1= target [[enableGunLights]] mode
 
|p1= target: [[Group]] or [[Object]] - The group forced to use gun lights. If unit is supplied as argument, unit's group is used
 
|p2= mode: [[String]] - Can be:
* <tt>"Auto"</tt> - Depends on combat mode  
* <tt>"Auto"</tt> - Depends on combat mode  
* <tt>"ForceOn"</tt> - Always on
* <tt>"ForceOn"</tt> - Always on
* <tt>"ForceOff"</tt> - Always off
* <tt>"ForceOff"</tt> - Always off


|r2= [[Nothing]]
|r1= [[Nothing]]
 
|x1= <code>_group [[enableGunLights]] [[false]];</code>


|x2= <code>_unit [[enableGunLights]] "Auto";</code>
|x1= <code>_unit [[enableGunLights]] "Auto";</code>


|x3= <code>_unit [[enableGunLights]] "ForceOff";</code>
|x2= <code>_unit [[enableGunLights]] "ForceOff";</code>


|seealso= [[isFlashlightOn]]
|seealso= [[isFlashlightOn]]
}}
}}
}}

Revision as of 10:27, 20 April 2021

RV/type Template

-Type not defined-


RV/param Template

Missing Name: Template:RV/type