Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Several idle-animations  (Read 2610 times)

0 Members and 1 Guest are viewing this topic.

mRax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 55
    • View Profile
Several idle-animations
« 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 code
    var n;
    if(form=="")n="sit";else n="";
    actor.PlayAnimAsync(form+"to"+n);
    form=n;
    actor.IdleAnimName=form+"idle";
    actor.TalkAnimName=form+"talk";
    WaitFor(actor);
« Last Edit: February 16, 2009, 10:32:28 AM by mRax »
Logged
 

Page created in 0.016 seconds with 20 queries.