Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Reno Caspain on Mon 12/01/2004 06:59:43

Title: Idle animation starts late.
Post by: Reno Caspain on Mon 12/01/2004 06:59:43
I have an idle view of a character sitting, with delay set to zero so she should be sitting when the player arrives to the screen. When talked to, she stands up, and sits down again after dialog.

Currently, she stands when the player enters screen, and sits down only after being talked to. What would be the best way to make her start idle animation before the player enters screen?
Title: Re:Idle animation starts late.
Post by: Nixxon on Mon 12/01/2004 07:12:23
Put your code into the "before fadein" function under player enters screen.
Title: Re:Idle animation starts late.
Post by: Reno Caspain on Mon 12/01/2004 07:59:37
What code do I use to start the idle animation before fadeing?
Title: Re:Idle animation starts late.
Post by: Scorpiorus on Mon 12/01/2004 08:18:05
Put inside player enters screen (before fade-in) interaction:

SetCharacterIdle (CharID, idleview, 0);

CharID - character script name
idleview - his idle view script name

~Cheers