Arma 3 Scripting

flag

  • Global argument
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · 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