Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: manny.p on Tue 21/06/2005 21:31:03

Title: Thinking and talk
Post by: manny.p on Tue 21/06/2005 21:31:03
I want guybrush to do view 7 loop 1 while saying the text.

This is what i've got:

character[EGO].LockView(7);
character[EGO].Animate(1, 1, 0, eBlock, eBackwards);
character[EGO].Say("Well...");
character[EGO].UnlockView();


He says the text afterwards.

Do i have to change his talking view to his thinking one temporarily?
Title: Re: Thinking and talk
Post by: manny.p on Tue 21/06/2005 21:36:27
Solved:
character[EGO].SpeechView = 7;
character[EGO].Say("Well..  ");
character[EGO].SpeechView = 4;

i don't know wheather this is the proper way to do it, but it works :)
Title: Re: Thinking and talk
Post by: Ashen on Tue 21/06/2005 23:22:45
Couldn't you just use the character[CHARID].Think() command, and set view 7 as the Thinking view?