flag: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 37: Line 37:
[[Category:Scripting Commands OFP 1.46|FLAG]]
[[Category:Scripting Commands OFP 1.46|FLAG]]
[[Category:Scripting Commands ArmA|FLAG]]
[[Category:Scripting Commands ArmA|FLAG]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]

Revision as of 05:29, 24 February 2007

Hover & click on the images for description

Description

Description:
Returns the flag the unit is carrying.
Groups:
Uncategorised

Syntax

Syntax:
flag unit
Parameters:
unit: Object
Return Value:
Object - Returns the flag. If the unit carries no flag, objNull is returned.

Examples

Example 1:
_flag = flag soldier

Additional Information

See also:
flagOwner

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