flag: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the original flag pole of the flag the unit is carrying. |= | | Returns the original flag pole of the flag the unit is carrying. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''flag''' unit |= | | '''flag''' unit |SYNTAX= | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
| [[Object]] - Flag pole object the flag belongs to. If the unit carries no flag, [[objNull]] is returned. |= | | [[Object]] - Flag pole object the flag belongs to. If the unit carries no flag, [[objNull]] is returned. |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_flag = [[flag]] _soldier;</code> |= | |x1= <code>_flag = [[flag]] _soldier;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[flagOwner]], [[setFlagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |= | | [[flagOwner]], [[setFlagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |SEEALSO= | ||
}} | }} |
Revision as of 14:39, 7 April 2019
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
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.99
- 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