flagAnimationPhase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *F([a-z])" to "$1 - f$2")
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
|mp= The result is local to the PC on which command is executed.
|mp= The result is local to the PC on which command is executed.


|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


|x1= <code>[[flagAnimationPhase]] _flag1;</code>
|x1= <sqf>flagAnimationPhase _flag1;</sqf>


|seealso= [[setFlagAnimationPhase]] [[Arma 3: Flag Textures]]
|seealso= [[setFlagAnimationPhase]] [[Arma 3: Flag Textures]]
}}
}}

Latest revision as of 15:11, 8 November 2023

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