flagAnimationPhase: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.68 | |1.68 | ||
|arg= global | |arg= global | ||
|gr1= Flags | |gr1= Flags | ||
| Returns flag position on the flag pole in range of 0..1, where 0 is bottom of the flag pole, 1 is the top of the flag pole. The result is local to the PC on which command is executed | | Returns flag position on the flag pole in range of 0..1, where 0 is bottom of the flag pole, 1 is the top of the flag pole. The result is local to the PC on which command is executed | ||
| '''flagAnimationPhase''' flag | | '''flagAnimationPhase''' flag | ||
|p1= flag: [[Object]] - flag pole of the type "FlagCarrier" | |p1= flag: [[Object]] - flag pole of the type "FlagCarrier" | ||
| [[Number]] - 0...1 | | [[Number]] - 0...1 | ||
|x1= <code>[[flagAnimationPhase]] _flag1; //0.5</code> | |x1= <code>[[flagAnimationPhase]] _flag1; //0.5</code> | ||
| [[flag]], [[flagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] | | [[flag]], [[flagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] | ||
}} | }} |
Revision as of 00:36, 18 January 2021
Description
- Description:
- Returns flag position on the flag pole in range of 0..1, where 0 is bottom of the flag pole, 1 is the top of the flag pole. The result is local to the PC on which command is executed
- Groups:
- Flags
Syntax
- Syntax:
- flagAnimationPhase flag
- Parameters:
- flag: Object - flag pole of the type "FlagCarrier"
- Return Value:
- Number - 0...1
Examples
- Example 1:
flagAnimationPhase _flag1; //0.5
Additional Information
- See also:
- flagflagOwnersetFlagSidesetFlagTextureflagSideflagTexturesetFlagAnimationPhaseforceFlagTexturegetForcedFlagTextureFlag 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