BIS fnc ambientAnimGetParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (typo)
m (Fix listing and example)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| input call [[BIS_fnc_ambientAnimGetParams]] |Syntax=
| animType call [[BIS_fnc_ambientAnimGetParams]] |Syntax=




|p1= input: [[String]] - Can be:<br>
|p1= animType: [[String]] - Can be:
    "STAND1"<br>
* "STAND1"
    "STAND2"<br>
* "STAND2"
    "STAND_U1"<br>
* "STAND_U1"
    "STAND_U2"<br>
* "STAND_U2"
    "STAND_U3"<br>
* "STAND_U3"
    "WATCH"<br>
* "WATCH"
    "WATCH2"<br>
* "WATCH2"
    "GUARD"<br>
* "GUARD"
    "LISTEN_BRIEFING"<br>
* "LISTEN_BRIEFING"
    "LEAN_ON_TABLE"<br>
* "LEAN_ON_TABLE"
    "LEAN"<br>
* "LEAN"
    "SIT_AT_TABLE"<br>
* "SIT_AT_TABLE"
    "SIT1"<br>
* "SIT1"
    "SIT"<br>
* "SIT"
    "SIT3"<br>
* "SIT3"
    "SIT_U1"<br>
* "SIT_U1"
    "SIT_U2"<br>
* "SIT_U2"
    "SIT_U3"<br>
* "SIT_U3"
    "SIT_HIGH1"<br>
* "SIT_HIGH1"
    "SIT_HIGH"<br>
* "SIT_HIGH"
    "SIT_LOW"<br>
* "SIT_LOW"
    "SIT_LOW_U"<br>
* "SIT_LOW_U"
    "SIT_SAD1"<br>
* "SIT_SAD1"
    "SIT_SAD2"<br>
* "SIT_SAD2"
    "KNEEL"<br>
* "KNEEL"
    "REPAIR_VEH_PRONE"<br>
* "REPAIR_VEH_PRONE"
    "REPAIR_VEH_KNEEL"<br>
* "REPAIR_VEH_KNEEL"
    "REPAIR_VEH_STAND"<br>
* "REPAIR_VEH_STAND"
    "PRONE_INJURED_U1"<br>
* "PRONE_INJURED_U1"
    "PRONE_INJURED_U2"<br>
* "PRONE_INJURED_U2"
    "PRONE_INJURED"<br>
* "PRONE_INJURED"
    "KNEEL_TREAT"<br>
* "KNEEL_TREAT"
    "KNEEL_TREAT2"<br>
* "KNEEL_TREAT2"
    "BRIEFING"<br>
* "BRIEFING"
    "BRIEFING_POINT_LEFT"<br>
* "BRIEFING_POINT_LEFT"
    "BRIEFING_POINT_RIGHT"<br>
* "BRIEFING_POINT_RIGHT"
    "BRIEFING_POINT_TABLE"|Parameter 1=
* "BRIEFING_POINT_TABLE"
<br />
|Parameter 1=




Line 60: Line 62:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>_animParams = "KEEL" [[call]] [[BIS_fnc_ambientAnimGetParams]];</code>|Example 1=
|x1= <code>_animParams = "KNEEL" [[call]] [[BIS_fnc_ambientAnimGetParams]];</code>|Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 69: Line 71:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on August 22, 2014 - 2330</dd>
 
<dt class="note">[[User:ffur2007slx2_5| ffur2007slx2_5]]</dt>
<dd class="note">(A3 1.26) Sorting animation state by keyword:
<code> ("KNEEL" [[call]] [[BIS_fnc_ambientAnimGetParams]]) [[select]] 0;
//return: ["amovpknlmstpslowwrfldnon"…]</code>
Useful keywords are: "STAND", "WATCH", "GUARD", "LISTEN_BRIEFING", "LEAN_ON_TABLE", "LEAN", "SIT_AT_TABLE", "KNEEL", "PRONE_INJURED", "BRIEFING" ect.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 13:51, 4 February 2019

Hover & click on the images for description

Description

Description:
Feeds params of given animset to BIS_fnc_ambientAnim.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
animType call BIS_fnc_ambientAnimGetParams
Parameters:
animType: String - Can be:
  • "STAND1"
  • "STAND2"
  • "STAND_U1"
  • "STAND_U2"
  • "STAND_U3"
  • "WATCH"
  • "WATCH2"
  • "GUARD"
  • "LISTEN_BRIEFING"
  • "LEAN_ON_TABLE"
  • "LEAN"
  • "SIT_AT_TABLE"
  • "SIT1"
  • "SIT"
  • "SIT3"
  • "SIT_U1"
  • "SIT_U2"
  • "SIT_U3"
  • "SIT_HIGH1"
  • "SIT_HIGH"
  • "SIT_LOW"
  • "SIT_LOW_U"
  • "SIT_SAD1"
  • "SIT_SAD2"
  • "KNEEL"
  • "REPAIR_VEH_PRONE"
  • "REPAIR_VEH_KNEEL"
  • "REPAIR_VEH_STAND"
  • "PRONE_INJURED_U1"
  • "PRONE_INJURED_U2"
  • "PRONE_INJURED"
  • "KNEEL_TREAT"
  • "KNEEL_TREAT2"
  • "BRIEFING"
  • "BRIEFING_POINT_LEFT"
  • "BRIEFING_POINT_RIGHT"
  • "BRIEFING_POINT_TABLE"

Return Value:
Array - Animation parameters

Examples

Example 1:
_animParams = "KNEEL" call BIS_fnc_ambientAnimGetParams;

Additional Information

See also:
BIS_fnc_ambientAnimCombatBIS_fnc_ambientAnim

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