Solved Run Stop

Question that is answered or resolved.

O Ilusionista

Captain 100K
I want to simulate something common in Versus games: the run stop animation, which plays after you are not running anymore (or the run animation ends, but its not my case).

So, when you are in running (looped) animation and release the directional, the entity should go to a FOLLOW animation. I tried with kescript but no good.

There is a better way?
 
I've a method.
In your  run animation set an entityvar for example
setentityvar(self,"running",1);

then in idle animation insert this script:
if ( getentityvar(self,"running") == 1 ) {
  setentityvar(self,"running",NULL());
  performattack(self,openborconstant("ANI_FOLLOWXX"),1);
}

it works well
 
pure gold! ehehe seems that i will have a  endless night upgrading running animations in all my projects ehehhe
very useful. thanks

by the way, there is a similar way to do this with a running start frame too before the running loop too?
 
cool!
thanks
in this case the first frame to be ignored by the loop should be count as frame 0  or frame 1?
 
on that case, frames 0 and 1 will be played but will be ignored by the loop.
About the loopend, there is bug/trick. In OpenBORstats, it will be displayed as:
1,2,3, 4,5
and for OpenBOR is
0,1,2,3,4

But the loop end is REALLY 5, not 4.
 
Back
Top Bottom