ACE3/addons/core/functions/fnc_queueAnimation.sqf
2015-01-12 05:14:15 -06:00

11 lines
294 B
Plaintext

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