Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: jamesreg on Wed 20/01/2010 23:41:04

Title: idle animation not working
Post by: jamesreg on Wed 20/01/2010 23:41:04
I created me a view for my characters idle animations
set the correct number of the idle view in the tabs on the side that says idle view

the character does not idle

what could be causing this?

is scripting needed in addition to putting the idle view number in the side panel?
Title: Re: idle animation not working
Post by: Matti on Wed 20/01/2010 23:51:37
There's a standard delay of seconds before the idle view starts. If you want the idle view to loop continuously, you have to set a delay of 0.

Character.SetIdleView(int idleview, int delay)

Title: Re: idle animation not working
Post by: Khris on Thu 21/01/2010 00:09:18
I'm not sure if the idle view is active by default; you might have to call the command once in game_start.
Title: Re: idle animation not working
Post by: LRH on Thu 21/01/2010 05:36:44
Quote from: jamesreg on Wed 20/01/2010 23:41:04
I created me a view for my characters idle animations
set the correct number of the idle view in the tabs on the side that says idle view

the character does not idle

what could be causing this?

is scripting needed in addition to putting the idle view number in the side panel?

Can you give us any more information?
My only guess is that the view isn't set correctly. Maybe you could even try cEgo.IdleView to set up the view. (Like Khris said, in the game_start portion of the global script...don't knw if this will help, though :()