enableGunLights: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 34: | Line 34: | ||
|x3= <code>_unit [[enableGunLights]] "ForceOff";</code> | |x3= <code>_unit [[enableGunLights]] "ForceOff";</code> | ||
| [[isFlashlightOn]] | |seealso= [[isFlashlightOn]] | ||
}} | }} |
Revision as of 23:43, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- LightsWeapons
Syntax
- Syntax:
- Syntax needed
- Parameters:
- group: Group or Object - the group forced to use gun lights. If unit is supplied as argument, unit's group is used
- mode: String - "Auto", "ForceOn", "ForceOff"
- Return Value:
- Return value needed
Examples
- Example 1:
_group enableGunLights "ForceOn";
- Example 2:
_unit enableGunLights "Auto";
- Example 3:
_unit enableGunLights "ForceOff";
Additional Information
- See also:
- isFlashlightOn
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note