{"name":"setFlagAnimationPhase","title":"setFlagAnimationPhase","type":"command","url":"https://community.bistudio.com/wiki/setFlagAnimationPhase","revid":348703,"updated":"2023-11-08T14:29:28Z","groups":["Flags"],"status":"ok","games":{"arma3":"1.68"},"since":"arma3 1.68","arma3_since":"1.68","locality":{"argument":"global","effect":"local"},"description":"Sets flag position on the flag pole. To animate flag use BIS_fnc_animateFlag.","syntaxes":[{"syntax":"flag setFlagAnimationPhase phase","params":[{"name":"flag","type":"Object","description":"flag pole of the type `\"FlagCarrier\"`","type_expr":"Object"},{"name":"phase","type":"Number","description":"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.","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"flag"},"right":{"text":"phase"}}],"examples":[{"code":["_flag1 setFlagAnimationPhase 0.5;"]}],"see_also":["flagAnimationPhase","Arma 3: Flag Textures"]}