flagAnimationPhase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
Line 14: Line 14:
|s1= [[flagAnimationPhase]]  flag
|s1= [[flagAnimationPhase]]  flag


|p1= flag: [[Object]] - Flag pole of the type <tt>"FlagCarrier"</tt>
|p1= flag: [[Object]] - Flag pole of the type {{hl|"FlagCarrier"}}


|r1= [[Number]] -  Flag position in range from 0 to 1, where 0 is bottom of the flag pole, 1 is the top of the flag pole
|r1= [[Number]] -  Flag position in range from 0 to 1, where 0 is bottom of the flag pole, 1 is the top of the flag pole

Revision as of 23:45, 15 November 2021

Hover & click on the images for description

Description

Description:
Returns flag position on the flag pole.
Multiplayer:
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 - Flag position in range from 0 to 1, where 0 is bottom of the flag pole, 1 is the top of the flag pole

Examples

Example 1:
flagAnimationPhase _flag1;

Additional Information

See also:
setFlagAnimationPhase Arma 3: Flag 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