This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
display_message [2017/04/12 14:33] – justin | display_message [2018/03/16 09:44] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
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. | 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: | ||
<code python> | <code python> | ||
display_message(message_text) | display_message(message_text) | ||
Line 10: | Line 11: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|message_text|Message text to display in the dialogue box.|[[String]]|Yes| | |message_text|Message text to display in the dialogue box.|[[String]]|Yes| | ||
+ | |||
+ | <WRAP center round info 100%> | ||
+ | You can use [[placeholder_expression|placeholder expressions]] within the message text if you'd like to display dynamic information (for example, the current value of a global property). | ||
+ | </ | ||
====Example: | ====Example: | ||
Line 17: | Line 22: | ||
// | // | ||
- | <WRAP center round info 100%> | + | <WRAP center round tip 100%> |
- | You can use [[placeholder_expression|placeholder expressions]] within | + | Use the **Display Message** function |
</ | </ | ||
+ | |||
+ | ---- | ||
<WRAP group> | <WRAP group> |