BIS fnc ambientAnimGetParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(9 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Feeds params of given animset to [[BIS_fnc_ambientAnim]].
|descr= Feeds params of given animset to [[BIS_fnc_ambientAnim]].


|s1= animType call [[BIS_fnc_ambientAnimGetParams]]
|s1= animType call [[BIS_fnc_ambientAnimGetParams]]


|p1= animType: [[String]] - Can be:
|p1= animType: [[String]] - can be:
{{Columns|4|
* "STAND1"
* "STAND1"
* "STAND2"
* "STAND2"
Line 48: Line 49:
* "BRIEFING_POINT_RIGHT"
* "BRIEFING_POINT_RIGHT"
* "BRIEFING_POINT_TABLE"
* "BRIEFING_POINT_TABLE"
<br>
}}


|r1=[[Array]] - Animation parameters
|r1= [[Array]] - animation parameters


|x1= <code>_animParams = "KNEEL" [[call]] [[BIS_fnc_ambientAnimGetParams]];</code>
|x1= <sqf>private _animParams = "KNEEL" call BIS_fnc_ambientAnimGetParams;</sqf>


|seealso= [[BIS_fnc_ambientAnimCombat]], [[BIS_fnc_ambientAnim]]
|seealso= [[BIS_fnc_ambientAnimCombat]] [[BIS_fnc_ambientAnim]]
}}
}}

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