I do not know how to work with ent_blendframe dude. But I heard that is just the same as ent_blend, but only for bone animations. That means that it will need state machine too... the thing that I'm asking for, will work just simple like this:
///////////////////////
if(key_w)
{
ent_animate(my,"walk",walk_,ANM_CYCLE,0.5);
walk_ += 5 * time_step;
}
else
{
ent_animate(my,"stand",stand_,ANM_CYCLE,0.5);
stand_ += 2 * time_step;
}
///////////////////////
As you see, it is just simple as usual ent_animate, but there will be smooth blending between scenes. And it is really easy to use it this way. If you do not need smooth blending between scenes, but need ugly changing between them, then just play with "0.5". No need to make state macine for it, no need to tell ent_blend (or ent_blendframe for bone animatios) exactly when to start and when to stop animations. Very easy and fast.