Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Babar on Fri 22/08/2003 08:28:34

Title: Stopping Idle Animations
Post by: Babar on Fri 22/08/2003 08:28:34
I had a problem when my character moved to a new room (the road) and I  changed the view to that of a car. The problem is that if I do nothing for 20 seconds, the idle animation is activated, and my old character view pops up out of the car and winks at the screen. Since that will look really freaky while driving, I wanted to know if there was anyway to disable the idle animations in some screens, but allow it in others. Thansk
Title: Re:Stopping Idle Animations
Post by: Timosity on Fri 22/08/2003 08:43:35
SetCharacterIdle (CHARID, int idleview, int delay)

"Pass IDLEVIEW as -1 to disable the idle view completely." - quote from the manual.

probably put it in the room script before room load, and set it back when you leave the room, or in another room you enter.

~Tim