BIS fnc ambientAnimGetParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Ambient


|1.00|= Game version
|descr= Feeds params of given animset to [[BIS_fnc_ambientAnim]].
____________________________________________________________________________________________


| <pre>/*
|s1= animType call [[BIS_fnc_ambientAnimGetParams]]


Description:
|p1= animType: [[String]] - can be:
Feeds params of given animset to BIS_fnc_ambientAnim.
{{Columns|4|
*/
* "STAND1"
 
* "STAND2"
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
* "STAND_U1"
____________________________________________________________________________________________
* "STAND_U2"
 
* "STAND_U3"
| <!-- [] call [[BIS_fnc_ambientAnimGetParams]]; --> |= Syntax
* "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"
}}


|p1= |= Parameter 1
|r1= [[Array]] - animation parameters


| |= Return value
|x1= <sqf>private _animParams = "KNEEL" call BIS_fnc_ambientAnimGetParams;</sqf>
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| [[animationState]], [[BIS_fnc_ambientAnim]], [[BIS_fnc_ambientAnimCombat]] |= See also


|seealso= [[BIS_fnc_ambientAnimCombat]] [[BIS_fnc_ambientAnim]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- 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 -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Ambient|{{uc:ambientAnimGetParams}}]]
[[Category:Functions|{{uc:ambientAnimGetParams}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ambientAnimGetParams}}]]

Latest revision as of 14:59, 8 November 2023

Hover & click on the images for description

Description

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

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:
private _animParams = "KNEEL" call BIS_fnc_ambientAnimGetParams;

Additional Information

See also:
BIS_fnc_ambientAnimCombat BIS_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