Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - slavec

#1
Hey!

I have a problem with the idle animation, when using Bernie's 8 Direction Movement module.
The idle freezes on the first frame.
I have tried:   cEgo.SetIdleView(4, 0);  ,but with no luck.

I think this is the code that's freezing it:
Code: ags

//animations

  if (thrust==0){

    if (walkingani>0){
      if ((xm!=0)||(ym!=0)) {if (player.View!=walkingani) {player.LockView(walkingani);
      player.Animate(0,walkanispeed, eRepeat, eNoBlock, eForwards);}}

      if ((xm==0)&&(ym==0)) {player.UnlockView();}
    }
  }

SMF spam blocked by CleanTalk