Arma 3 Scripting

Command in Flags

setFlagSide

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets flag Side. A flag may be taken by any unit that is enemy to the side that owns the flag. Just like with setFlagTexture, if the command executed where unit is local effect of the command will be global and JIP compatible.

Syntax

flag setFlagSide side

Parameters:

Returns: Nothing

Examples

Example 1

_flag1 setFlagSide east;

Example 2

Capturable OPFOR flag:

private _flag = "FlagPole_F" createVehicle position player;
_flag setFlagTexture "\A3\Data_F\Flags\Flag_CSAT_CO.paa";
_flag setFlagSide east;

See also

flag · flagOwner · setFlagOwner · setFlagTexture · flagSide · flagTexture · setFlagAnimationPhase · flagAnimationPhase · forceFlagTexture · getForcedFlagTexture