Arma 3 Scripting

Command in Flags

flag

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

Description

Returns the original flag pole of the flag the unit is carrying.

Syntax

flag unit

Parameters:

Returns: Object - flag pole object the flag belongs to. If the unit carries no flag, objNull is returned.

Examples

Example 1

_flag = flag _soldier;

See also

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