Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: mRax on February 13, 2008, 03:43:46 PM
-
Hi! I used several "idle" animations in the project. Between two "idle" animations I want to play special "intermediate" animation. It`s not very bad, huh, but after that intermediate animation user can see previous idle just for a moment (or maybe, intermediate animation`s beginning): actor "jumps" quickly between "idles".
This is a piece of codevar n;
if(form=="")n="sit";else n="";
actor.PlayAnimAsync(form+"to"+n);
form=n;
actor.IdleAnimName=form+"idle";
actor.TalkAnimName=form+"talk";
WaitFor(actor);