Ok, so grue already tried to explain this to me, but I still can't get it to work:
I want a simple player ent animation if said player presses SPACE. So I hook up Space with the following:
void action()
{
unpress(0);
entitymove(player, "z1w4z2w4z0");
}
If I use this with a normal entity, it will work. But if it's the player, it will only reach the first frame and then just stop. For ever.
Grue told me to do this:
void action()
{
unpress(0);
entitymove( player, "z1w4z2w4z0" );
while( entity.movecode[player] ) {
ProcessEntities();
render();
showpage();
}
}
Two things about that: Could anybody explain to me why entity animation doesn't work properly ONLY on the player, and why does the ProcessEntities() command not exist in my VC?