BIS fnc animType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{Function|Comments=" to "{{Function|Comments=")
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 32: Line 32:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:animType}}]]
 
[[Category:Functions|{{uc:animType}}]]
[[Category:Functions|{{uc:animType}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:animType}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:animType}}]]

Revision as of 10:12, 10 October 2020

Hover & click on the images for description

Description

Description:
Function that returns a categorized array using a single string with the animation name.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
param call BIS_fnc_animType;
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

Notes

Bottom Section

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"]];