Arma 3 Scripting

BIS_fnc_ambientAnimCombat

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Play set of ambient animations on given unit AND allows the unit to leave the ambient state and engage enemy or move away.

Note

Animations can be cancelled using _unit call BIS_fnc_ambientAnim__terminate.

Syntax

[unit, animationSet, equipmentLevel, condition, behaviour] call BIS_fnc_ambientAnimCombat

Parameters:

Returns: Nothing

Examples

Example 1

[_unit, "STAND", "FULL", { (player distance _this) < 5 }] call BIS_fnc_ambientAnimCombat;

See also

BIS_fnc_ambientAnim