{"name":"BIS_fnc_animType","title":"BIS fnc animType","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_animType","revid":379247,"updated":"2026-10-30T23:40:45Z","groups":["Object Manipulation"],"status":"ok","games":{"tkoh":"1.00","arma3":"0.50"},"since":"tkoh 1.00","arma3_since":"0.50","description":"Function that returns a categorized array using a single string with the animation name.","syntaxes":[{"syntax":"param call BIS_fnc_animType","params":[{"name":"String","description":"animation name.","type_expr":"String"}],"returns":{"type":"Array","type_expr":"Array","description":"sorted arrays within an array with details about animation."}}],"examples":[{"code":["animType = [\"AmovPsitMstpSrasWrflDnon\"] call BIS_fnc_animType;\n// Returns [[\"Action\",\"Move\"],[\"Pose\",\"Sit\"],[\"Movement\",\"Stop\"],[\"Stance\",\"Raised\"],[\"Hand item\",\"Rifle\"],[\"Direction\",\"Not specified\"]]"]}],"notes":[{"user":"Tryteyker-","date":"2014-10-01T20:26:00Z","text":"The categorization is identical to that of the animation viewer, minus the direction array.\n\nSo if the animation you are running through this function is found in the following categories:\n\n```\nAction: Move\nPose: Erect\nMovement: Stop\nStance: Raised\nWeapon: Rifle\n```\n\nThen the following array will be returned:\n\n```sqf\n[[\"Action\", \"Move\"], [\"Pose\", \"Erect\"], [\"Movement\", \"Stop\"], [\"Stance\", \"Raised\"], [\"Hand item\", \"Rifle\"], [\"Direction\", \"Not specified\"]];\n```"}]}