Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: BorisZ on Sat 21/08/2004 19:06:13

Title: Global message from character
Post by: BorisZ on Sat 21/08/2004 19:06:13
Is it possible to call gloabal message that is not displayed in white box, but that is spoken by character (just like you can do with room messages)?
Title: Re: Global message from character
Post by: Ashen on Sat 21/08/2004 19:14:14
Yes, with the GetMessageText command, e.g.:

string buffer;
GetMessageText (501, buffer);
DisplaySpeech (EGO, buffer);
Title: Re: Global message from character
Post by: BorisZ on Sat 21/08/2004 19:15:45
Thanks! That was a quick reply!