{"name":"BIS_fnc_ORBATAnimate","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","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Animates an ORBAT viewer.","syntaxes":[{"syntax":"[target, zoom, duration] spawn BIS_fnc_ORBATAnimate","params":[{"name":"target","type":"Config or Array","description":"path to group in CfgORBAT or offset position from structure center in format **[X, Y]**.\n\n- When empty, view is reset to original level where whole structure is visible","type_expr":"Config | Array"},{"name":"zoom","type":"Number","description":"zoom in range from 0 (max. zoom) to 1 (min. zoom)","type_expr":"Number"},{"name":"duration","type":"Number","description":"commit time in seconds","type_expr":"Number"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true when animation is applied"}}],"examples":[{"code":["[configFile >> \"CfgORBAT\" >> \"BIS\" >> \"B_1_A_1\", 0.5, 3] spawn BIS_fnc_ORBATAnimate;"]}],"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"]}