flagAnimationPhase: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|gr1= Flags |GROUP1= | |gr1= Flags |GROUP1= | ||
| 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|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|DESCRIPTION= | ||
| '''flagAnimationPhase''' flag|SYNTAX= | | '''flagAnimationPhase''' flag|SYNTAX= | ||
Line 19: | Line 16: | ||
| [[Number]] - 0...1 |RETURNVALUE= | | [[Number]] - 0...1 |RETURNVALUE= | ||
|x1= <code>[[flagAnimationPhase]] _flag1; //0.5</code> |EXAMPLE1= | |x1= <code>[[flagAnimationPhase]] _flag1; //0.5</code> |EXAMPLE1= | ||
| [[flag]], [[flagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |SEEALSO= | | [[flag]], [[flagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |SEEALSO= |
Revision as of 01:12, 17 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