ACE3/addons/common/functions/fnc_queueAnimation.sqf
2015-02-19 19:14:52 +01:00

11 lines
281 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);
};