How do i make a character say something? (solved)

Started by Granknight, Sun 07/01/2007 10:38:34

Previous topic - Next topic

Granknight

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.

Creator

#1
In the Interaction Editor use the Run Script command and type this:

Code: ags

cCharacter.Say("Hello");


Put your message where Hello is and the character's script name where Character is.
(You MUST use the Quotation marks)

Granknight


Ashen

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.)
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk