flag: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
Line 40: Line 40:
[[Category:Scripting Commands OFP 1.96|FLAG]]
[[Category:Scripting Commands OFP 1.96|FLAG]]
[[Category:Scripting Commands OFP 1.46|FLAG]]
[[Category:Scripting Commands OFP 1.46|FLAG]]
[[Category:Scripting Commands ArmA|FLAG]]
[[Category:Scripting Commands Armed Assault|FLAG]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]

Revision as of 19:06, 3 June 2020

Hover & click on the images for description

Description

Description:
Returns the original flag pole of the flag the unit is carrying.
Groups:
Uncategorised

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

Notes

Bottom Section