Moon_chilD 200 Posted March 1, 2014 Hi guys, another great and missleading title. What I want to do: A unit is making an animation. (Surrende, Hands behind his head also I said: UNITNAME disableAI "ANIM") He then joints (via a trigger) a group of AI. After another trigger is active the Group is walking to a waypoint. Now I want to stop the Surrender animation, so the AI will walk with the group. How can I do that? I tried it with switching to a walking animation, but he the just walks straight forward forever! Many Greetings Moony Share this post Link to post Share on other sites
nimrod_z 8 Posted March 1, 2014 if you used UNITNAME disableAI "ANIM" to disable the animation you should be able to just re-enable it. UNITNAME enableAI "ANIM" Share this post Link to post Share on other sites
Moon_chilD 200 Posted March 1, 2014 I tried. He then stays with his hands up, not moving and turns his direction depending on where his leader is. He is not walking or anything! Share this post Link to post Share on other sites
nimrod_z 8 Posted March 1, 2014 there needs to be a small sleep between when animation is freed and player is ordered to move. I just tried this in editor and it worked fine _p= [] spawn {bob enableAi "ANIM"; sleep 0.2; bob doMove (position player)}; Share this post Link to post Share on other sites
KC Grimes 79 Posted March 1, 2014 A clean way to end the animation is: unit switchmove ""; Share this post Link to post Share on other sites