setFlagAnimationPhase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ")
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
Line 14: Line 14:
|s1= flag [[setFlagAnimationPhase]] phase
|s1= flag [[setFlagAnimationPhase]] phase


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


|p2= phase: [[Number]] - Flag position on the flag pole according to the given animation phase, where 0 is the bottom of the flag pole, 1 is the top of the flag pole.
|p2= phase: [[Number]] - Flag position on the flag pole according to the given animation phase, where 0 is the bottom of the flag pole, 1 is the top of the flag pole.

Revision as of 00:46, 16 November 2021

Hover & click on the images for description

Description

Description:
Sets flag position on the flag pole. To animate flag use BIS_fnc_animateFlag.
Groups:
Flags

Syntax

Syntax:
flag setFlagAnimationPhase phase
Parameters:
flag: Object - flag pole of the type "FlagCarrier"
phase: Number - Flag position on the flag pole according to the given animation phase, where 0 is the bottom of the flag pole, 1 is the top of the flag pole.
Return Value:
Nothing

Examples

Example 1:
_flag1 setFlagAnimationPhase 0.5;

Additional Information

See also:
flagAnimationPhase 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