flag: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Fred Gandt (talk | contribs) m (Added to "see also" + <pre> to <code>) |
||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |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
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Object Information