BIS fnc animType: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| tkoh |Game name= | | tkoh |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Object Manipulation |GROUP1= | |gr1 = Object Manipulation |GROUP1= | ||
| Function that returns a categorized array using a single string with the animation name. |DESCRIPTION= | | Function that returns a categorized array using a single string with the animation name. |DESCRIPTION= | ||
| param call [[BIS_fnc_animType]]; |SYNTAX= | | param call [[BIS_fnc_animType]]; |SYNTAX= | ||
Line 17: | Line 14: | ||
| [[Array]] - Sorted arrays within an array with details about animation. |RETURNVALUE= | | [[Array]] - Sorted arrays within an array with details about animation. |RETURNVALUE= | ||
|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> |= | ||
| |SEEALSO= | | |SEEALSO= |
Revision as of 23:34, 16 January 2021
Description
- Description:
- Function that returns a categorized array using a single string with the animation name.
- Execution:
- call
- Groups:
- Object Manipulation
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"]];