ACE3/addons/common/functions/fnc_queueAnimation.sqf
2015-01-13 20:56:02 +01:00

11 lines
275 B
Plaintext

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