enableGunLights Arma 2

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2: Operation Arrowhead version 1.51
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.51

Description

Description:
Force the AI to use gun lights. This command can be used to force lights on, but not to force lights off

Syntax

Syntax:
thing enableGunLights value
Parameters:
thing: Object or Group - the unit or the group forced to use gun lights
value: Boolean
Return Value:
Nothing

Examples

Example 1:
_group enableGunLights true;
Example 2:
_unit enableGunLights false;

Additional Information

Multiplayer:
-
See also:
isFlashlightOn

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section