(Formerly known as DisplaySpeechBackground, which is now obsolete)
Overlay* Character.SayBackground(string message)
Similar to Say, except that this function returns immediately
and the game continues while the character is talking. This allows you
to have characters talking in the background while the player does other
things. Note that the character's talking animation is not played if this
function is used.
This command works by creating a text overlay with an automatic removal time
delay. The overlay is returned by this command, so you can save it for
use later with Overlay.IsValid and Overlay.Remove, if you want to remove the
text prematurely.
If background speech is already on-screen for the character, it will be removed and
replaced with the new MESSAGE.
All background speech is automatically removed when a normal Say command
is used (unless you set the global variable game.bgspeech_stay_on_display to 1).
Example:
cMan.SayBackground("Hey, why won't you talk to me?");
will display the message above character MAN's head without pausing the game.
See Also: Character.Say
|