enableGunLights: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " <dl class="command_description"> </dl>" to "")
Line 36: Line 36:
| [[isFlashlightOn]]
| [[isFlashlightOn]]
}}
}}
<dl class="command_description">
</dl>

Revision as of 20:22, 29 January 2021

Hover & click on the images for description

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:
See also needed

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