ACE3/addons/core/functions/fnc_queueAnimation.sqf

11 lines
275 B
Plaintext
Raw Normal View History

// by commy2
#include "script_component.hpp"
terminate (missionNamespace getVariable [QGVAR(waitForAnimationHandle), scriptNull]);
GVAR(waitForAnimationHandle) = _this spawn {
2015-01-11 18:20:14 +00:00
waitUntil {!([_this select 0] call FUNC(inTransitionAnim))};
2015-01-11 18:20:14 +00:00
_this call FUNC(doAnimation);
};