spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Character functions and properties

Say

(Formerly known as DisplaySpeech, which is now obsolete)

Character.Say(string message)
Displays the text MESSAGE as speech above the character's head. The text will remain on screen for a limited time, and the user may or may not be able to click it away depending on the setting of "Player can't skip speech text". The text displayed by this function looks identical to that used by the dialog system.

You can insert the value of variables into the message. For more information, see the string formatting section.

Example:

cEgo.Say("My name is ego");
will display the message above the character's EGO head like the LEC games, whilst playing the character's talking animation.

See Also: Display, Character.SayAt, Character.SayBackground, Character.Think


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.