setFlagAnimationPhase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (command group: Flags)
Line 9: Line 9:


|eff= local |Multiplayer Effects=
|eff= local |Multiplayer Effects=
|gr1= Flags |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:12, 9 September 2020

Hover & click on the images for description

Description

Description:
Sets 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. The changes to the flag position are local to the PC command is executed on. 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 - 0...1
Return Value:
Nothing

Examples

Example 1:
_flag1 setFlagAnimationPhase 0.5;

Additional Information

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