BIS fnc animType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
|s1= param call [[BIS_fnc_animType]] | |s1= param call [[BIS_fnc_animType]] | ||
|p1= [[String]] - | |p1= [[String]] - animation name. | ||
|r1= [[Array]] - | |r1= [[Array]] - sorted arrays within an array with details about animation. | ||
|x1= <sqf>animType = ["AmovPsitMstpSrasWrflDnon"] call BIS_fnc_animType; | |x1= <sqf>animType = ["AmovPsitMstpSrasWrflDnon"] call BIS_fnc_animType; | ||
Line 26: | Line 26: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2014-10-01 - 20:26 (UTC)</dd> | ||
<dt class="note">[[User:Tryteyker-|Tryteyker-]]</dt> | <dt class="note">[[User:Tryteyker-|Tryteyker-]]</dt> | ||
<dd class="note"> | <dd class="note"> |
Latest revision as of 16:49, 8 November 2023
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:
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 2014-10-01 - 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"]];