flag: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added to "see also" + <pre> to <code>)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_flag = flag _soldier</pre> |= Example 1
|x1= <code>_flag = [[flag]] _soldier;</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[flagOwner]] |= See also
| [[Flag Textures]], [[flagOwner]], [[setFlagOwner]], [[setFlagSide]], [[setFlagTexture]] |= See also


}}
}}

Revision as of 04:25, 25 March 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
Object = flag unitName
Parameters:
unitName: 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:
Flag TexturesflagOwnersetFlagOwnersetFlagSidesetFlagTexture

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