BIS fnc animType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " +" to " ")
Line 17: Line 17:
|x1= <code>animType = ["AmovPsitMstpSrasWrflDnon"] call BIS_fnc_animType; <br>// Returns [["Action","Move"],["Pose","Sit"],["Movement","Stop"],["Stance","Raised"],["Hand item","Rifle"],["Direction","Not specified"]]</code>
|x1= <code>animType = ["AmovPsitMstpSrasWrflDnon"] call BIS_fnc_animType; <br>// Returns [["Action","Move"],["Pose","Sit"],["Movement","Stop"],["Stance","Raised"],["Hand item","Rifle"],["Direction","Not specified"]]</code>
}}
}}





Revision as of 23:39, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
String - Animation name.
Return Value:
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"]]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on October 1, 2014 - 20:26 (UTC)
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"]];