Animating without specifying loop. (SOLVED)

Started by Kinoko, Mon 02/08/2004 07:24:50

Previous topic - Next topic

Kinoko

Is there a way to animate something without specifying a specific loop? For example, I want to have my character animate on button press with whichever loop corresponds to which way he's facing. I'm aware I could script in four 'if' statements relying on which view/sprite he's currently using, but I can't be sure exactly which view he'll be using at the time so this would be a royal pain in the ass.

Is there a better way? -_-

Gilbert

Hmmm try this:
AimateCharacter(ROGER,character[ROGER].loop,whatever,whatever);

Kinoko

Dargh, now why didn't I think of that... thanks!

SMF spam blocked by CleanTalk