Description
Toggles the target group's gun lights. disableAI "LIGHTS" will disable the use of gun lights.
Important
This command acts on each unit of the provided group or provided unit's group; there is no need to apply it on each unit.
Syntax
target enableGunLights mode
Parameters:
target: Group or Object - the group forced to use gun lights. If unit is supplied as argument, unit's group is usedmode: String - can be:"Auto"- Depends on combat mode"ForceOn"- Always on"ForceOff"- Always off
Returns: Nothing
Examples
Example 1
_groupA enableGunLights "Auto";
Example 2
_unit1 enableGunLights "ForceOff"; // sets _unit1's GROUP behaviour to not use gun lights