ACE3/addons/common/functions/fnc_queueAnimation.sqf
2015-01-12 19:22:58 +01:00

11 lines
296 B
Plaintext

// by commy2
#include "\z\ace\addons\common\script_component.hpp"
terminate (missionNamespace getVariable [QGVAR(waitForAnimationHandle), scriptNull]);
GVAR(waitForAnimationHandle) = _this spawn {
waitUntil {!([_this select 0] call FUNC(inTransitionAnim))};
_this call FUNC(doAnimation);
};