enableGunLights: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) (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 | ||
|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). | ||
|s1= target [[enableGunLights]] state | |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]] | ||
| | |x1= <code>_group [[enableGunLights]] [[false]];</code> | ||
|seealso= [[isFlashlightOn]] | |||
}} | |||
|title2= {{Name|arma3|short}} | |||
|content2= | |||
{{RV|type=command | |||
|game1= arma3 | |||
|version1= 0.50 | |||
| | |gr1= Lights | ||
|gr2= Weapons | |||
| | |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 | ||
| | |r1= [[Nothing]] | ||
| | |x1= <code>_unit [[enableGunLights]] "Auto";</code> | ||
| | |x2= <code>_unit [[enableGunLights]] "ForceOff";</code> | ||
|seealso= [[isFlashlightOn]] | |seealso= [[isFlashlightOn]] | ||
}} | |||
}} | }} |