ACE3/addons/common/functions/fnc_queueAnimation.sqf

11 lines
275 B
Plaintext
Raw Normal View History

// by commy2
2015-01-13 19:56:02 +00:00
#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);
};