(Formerly known as DisplaySpeechAt, which is now obsolete)
SayAt(int x, int y, int width, string message)
Similar to Say, except that the text is displayed with its top
left corner at (X,Y), in an area WIDTH wide.
You can use this function to write the character's speech text anywhere you like, and
AGS will still play the character's talking animation and so on if appropriate.
NOTE: This function does not support QFG4-style speech.
Example:
cEgo.SayAt(220, 20, 100, "My name is ego");
will display the message in the top right corner of the screen, whilst playing the
character's talking animation.
See Also: Character.Say,
Character.SayBackground
|