{"name":"flagAnimationPhase","operator":null,"title":"flagAnimationPhase","type":"command","url":"https://community.bistudio.com/wiki/flagAnimationPhase","revid":376970,"updated":"2026-01-01T06:01:24Z","groups":["Flags"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.68"}],"since":{"game":"arma3","name":"Arma 3","version":"1.68"},"arma3_since":"1.68","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Returns flag position on the flag pole.","syntaxes":[{"syntax":"flagAnimationPhase flag","since":null,"effect":null,"exec":null,"params":[{"name":"flag","type":"Object","optional":false,"default":null,"description":"flag pole of the type `\"FlagCarrier\"`","types":["Object"],"since":null,"text":"flag: Object - flag pole of the type `\"FlagCarrier\"`"}],"returns":{"type":"Number in range 0..1","types":["Number"],"description":"flag position, where 0 is bottom of the flag pole, 1 is the top of the flag pole","text":"Number in range 0..1 - flag position, where 0 is bottom of the flag pole, 1 is the top of the flag pole"},"form":"unary","operator":null,"left":null,"right":{"text":"flag","types":["Object"]}}],"examples":[{"text":"```sqf\nflagAnimationPhase _flag1;\n```","code":["flagAnimationPhase _flag1;"]}],"multiplayer":"The result is local to the PC on which command is executed.","problems":null,"aliases":[],"see_also":["setFlagAnimationPhase","Arma 3: Flag Textures"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Flags","Introduced with Arma 3 version 1.68","Scripting Commands"]}