flag
Jump to navigation
Jump to search
Description
- Description:
- Returns the original flag pole of the flag the unit is carrying.
- Groups:
- Flags
Syntax
- Syntax:
- flag unit
- Parameters:
- unit: Object
- Return Value:
- Object - Flag pole object the flag belongs to. If the unit carries no flag, objNull is returned.
Examples
- Example 1:
_flag = flag _soldier;
Additional Information
- See also:
- flagOwnersetFlagOwnersetFlagSidesetFlagTextureflagSideflagTexturesetFlagAnimationPhaseflagAnimationPhaseforceFlagTexturegetForcedFlagTextureFlag Textures
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Flags
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands