User Tools

Site Tools


display_message

Display Message


Displays a dialogue box with the specified message text. Interaction with the scene will be disabled until the player clicks on the dialogue box or presses SPACE to dismiss it.

Signature:

display_message(message_text)
ArgumentDescriptionTypeRequired
message_textMessage text to display in the dialogue box.StringYes

You can use placeholder expressions within the message text if you'd like to display dynamic information (for example, the current value of a global property).

Example:

display_message("Justin and Sarah's House")

Results: A dialogue box is displayed containing the text “Justin and Sarah's House”.

Use the Display Message function to display information about interactive objects (such as signs) or to inform the player of events that have occurred.


Editor Node:

Visual Demo:

display_message.txt · Last modified: 2018/03/16 09:44 by justin