{"name":"BIS_fnc_ORBATAnimate","operator":null,"title":"BIS fnc ORBATAnimate","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_ORBATAnimate","revid":349429,"updated":"2023-11-08T16:27:36Z","groups":["Strategic"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Animates an ORBAT viewer.","syntaxes":[{"syntax":"[target, zoom, duration] spawn BIS_fnc_ORBATAnimate","since":null,"effect":null,"exec":null,"params":[{"name":"target","type":"Config or Array","optional":false,"default":null,"description":"path to group in CfgORBAT or offset position from structure center in format **[X, Y]**.\n- When empty, view is reset to original level where whole structure is visible","types":["Config","Array"],"since":null,"text":"target: Config or Array - path to group in CfgORBAT or offset position from structure center in format **[X, Y]**.\n- When empty, view is reset to original level where whole structure is visible"},{"name":"zoom","type":"Number","optional":false,"default":null,"description":"zoom in range from 0 (max. zoom) to 1 (min. zoom)","types":["Number"],"since":null,"text":"zoom: Number - zoom in range from 0 (max. zoom) to 1 (min. zoom)"},{"name":"duration","type":"Number","optional":false,"default":null,"description":"commit time in seconds","types":["Number"],"since":null,"text":"duration: Number - commit time in seconds"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true when animation is applied","text":"Boolean - true when animation is applied"}}],"examples":[{"text":"```sqf\n[configFile >> \"CfgORBAT\" >> \"BIS\" >> \"B_1_A_1\", 0.5, 3] spawn BIS_fnc_ORBATAnimate;\n```","code":["[configFile >> \"CfgORBAT\" >> \"BIS\" >> \"B_1_A_1\", 0.5, 3] spawn BIS_fnc_ORBATAnimate;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["ORBAT Viewer","BIS_fnc_ORBATAddGroupOverlay","BIS_fnc_ORBATConfigPreview","BIS_fnc_ORBATGetGroupParams","BIS_fnc_ORBATOpen","BIS_fnc_ORBATRemoveGroupOverlay","BIS_fnc_ORBATSetGroupFade","BIS_fnc_ORBATSetGroupParams","BIS_fnc_ORBATTooltip"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Strategic","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}