Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Fri 13/08/2004 15:37:11

Title: have a problem with SetCharacterIdle
Post by: on Fri 13/08/2004 15:37:11
hello, I have a problem with SetCharacterIdle, in the help of ags say:Ã, 

The "Idle view" button allows you to set an idle animation for the character. To do this, create a new view, with one or more loops of the character idle (eg. smoking, reading a book, etc). Then, click "Idle view" and type in the view number. If the player stands still for 20 seconds (you can change the timeout with the SetCharacterIdle text script function), then the current loop from the view will be played.

I want to change the time have to wait the person to comence the animation.I want put 5 seconds.
how can I do?
Thanks
Title: Re: help me please
Post by: deadsuperhero on Fri 13/08/2004 15:50:41
Hmmm...Well, did you put waitloops for that?
40 waitloops=about 1 second
Title: Re: have a problem with SetCharacterIdle
Post by: Proskrito on Fri 13/08/2004 16:22:53
SetCharacterIdle(EGO, IDLEVIEW, 5);

changing EGO and IDLEVIEW to whatever you need