Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Granknight on Sun 07/01/2007 10:38:34

Title: How do i make a character say something? (solved)
Post by: Granknight on Sun 07/01/2007 10:38:34
How do i make a character say something?
I found out how to display a message, but i could not find this one in the list of the interactions.
Title: Re: How do i make a character say something?
Post by: Creator on Sun 07/01/2007 10:45:20
In the Interaction Editor use the Run Script command and type this:


cCharacter.Say("Hello");


Put your message where Hello is and the character's script name where Character is.
(You MUST use the Quotation marks)
Title: Re: How do i make a character say something? (solved)
Post by: Granknight on Sun 07/01/2007 10:53:19
Thank you  :)
Title: Re: How do i make a character say something? (solved)
Post by: Ashen on Sun 07/01/2007 12:32:59
If you're using the Interaction Editor 'Game - Display a message' command, you can set the 'Display message as' drop down to the character you want to say it, instead of 'Normal text'. (But, I'd recommend you start learning to use scriptng as soon as you can - the Interaction Editor commands are very limited and limiting, and most people who're likely to post answers on the forums don't touch it anyway.)