Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Edward Becket on Sat 12/07/2003 16:51:46

Title: Animation direction
Post by: Edward Becket on Sat 12/07/2003 16:51:46
Listen,
i have a problem. When my char performs an action its direction change in DOWN... why?
This is my simple code:

SetCharacterView(EGO,2);
AnimateCharacter (EGO,0,0,0);
while(character[EGO].animating) Wait(1);
ObjectOff(0);
ReleaseCharacterView(EGO);
Title: Re:Animation direction
Post by: AJA on Sun 13/07/2003 22:11:01
AnimateCharacter (CHARID, int loop, int speed, int repeat)

You've set loop to 0 which is down.
Title: Re:Animation direction
Post by: Edward Becket on Sun 13/07/2003 22:37:27
Thanks for the help... i couldn't use that command very well... ^^