How do I find out how many animations a player has? This comes in handy for selecting one randomly or choosing from multiple options for the subsequent animation to run.
Oh ... and in case I forget ... MAKSLANE, yOu RoCk tO tHE eXtreME!!!
int getNumAnim(const char *actorName)
{
int n = 0;
while(getAnimName(n)[0]) n++;
return n;
}
Users browsing this forum: No registered users and 1 guest