have a problem with SetCharacterIdle

Started by , Fri 13/08/2004 15:37:11

Previous topic - Next topic

Dante

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

deadsuperhero

Hmmm...Well, did you put waitloops for that?
40 waitloops=about 1 second
The fediverse needs great indie game developers! Find me there!

Proskrito

SetCharacterIdle(EGO, IDLEVIEW, 5);

changing EGO and IDLEVIEW to whatever you need

SMF spam blocked by CleanTalk