Display (string message, ...)
Displays a message to the screen. It will be displayed in the standard
message box, and centred in the middle of the screen.
You can insert the value of variables into the message. For more information,
see the string formatting section.
Example:
int my_counter;
Display ("The counter is currently set to %d.", my_counter);
will replace the '%d' with the value of the variable "my_counter".
NOTE: Display is a blocking function - that is, control will not return
to the script until the player has removed the text window (by pressing a
key or clicking the mouse). While the window is displayed, all other
processing, like animations and interface display, are disabled. This is
usually used for responses to the player LOOKing at things.
See Also: DisplayAt, DisplayMessage,
Character.Say, DisplayTopBar,
String.Format
|