User Tools

Site Tools


display_message

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
display_message [2017/04/12 16:00] justindisplay_message [2020/03/12 11:00] 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 12: Line 13:
  
 <WRAP center round info 100%> <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).+You can use [[placeholder_expression|placeholder expressions]] within the message text, or even variables and properties directly, if you'd like to display dynamic information (for example, the current value of a global property).
 </WRAP> </WRAP>
  
 ====Example:==== ====Example:====
-<code python>+<code bauxite>
 display_message("Justin and Sarah's House") display_message("Justin and Sarah's House")
 </code> </code>
display_message.txt · Last modified: 2021/06/29 19:37 by justin