flagAnimationPhase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=


|p1= flag: [[Object]] - flag pole of the type "FlagCarrier"|= Parameter 1
|p1= flag: [[Object]] - flag pole of the type "FlagCarrier"|PARAMETER1=


|  [[Number]] - 0...1 |= Return value
|  [[Number]] - 0...1 |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[flagAnimationPhase]] _flag1; //0.5</code> |= Example 1
|x1= <code>[[flagAnimationPhase]] _flag1; //0.5</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[flag]], [[flagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |= See also
| [[flag]], [[flagOwner]], [[setFlagSide]], [[setFlagTexture]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[forceFlagTexture]], [[getForcedFlagTexture]], [[Flag Textures]] |SEEALSO=


}}
}}

Revision as of 15:39, 7 April 2019

Hover & click on the images for description

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:
Uncategorised

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

Notes

Bottom Section