Arma 3 Scripting

BIS_fnc_animType

  • Arma 3 v0.50
  • First in Take On Helicopters v1.00

Function · Markdown · JSON · original wiki page

Description

Function that returns a categorized array using a single string with the animation name.

Syntax

param call BIS_fnc_animType

Parameters:

Returns: Array - sorted arrays within an array with details about animation.

Examples

Example 1

animType = ["AmovPsitMstpSrasWrflDnon"] call BIS_fnc_animType;
// Returns [["Action","Move"],["Pose","Sit"],["Movement","Stop"],["Stance","Raised"],["Hand item","Rifle"],["Direction","Not specified"]]

Community notes

Tryteyker-

The categorization is identical to that of the animation viewer, minus the direction array.
So if the animation you are running through this function is found in the following categories:

Action: Move
Pose: Erect
Movement: Stop
Stance: Raised
Weapon: Rifle

Then the following array will be returned:

[["Action", "Move"], ["Pose", "Erect"], ["Movement", "Stop"], ["Stance", "Raised"], ["Hand item", "Rifle"], ["Direction", "Not specified"]];