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/11 06:41] justindisplay_message [2017/04/12 16:00] justin
Line 10: Line 10:
 ^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).
 +</WRAP>
  
 ====Example:==== ====Example:====
Line 15: Line 19:
 display_message("Justin and Sarah's House") display_message("Justin and Sarah's House")
 </code> </code>
-//Results:// A dialogue box will be displayed containing the text "Justin and Sarah's House".+//Results:// A dialogue box is displayed containing the text "Justin and Sarah's House".
  
-<WRAP center round info 100%> +<WRAP center round tip 100%> 
-You can use [[placeholder_expression|placeholder expressions]] within the message text in order to display dynamic information (for example, the current value of a global property).+Use the **Display Message** function to display information about interactive objects (such as signs) or to inform the player of events that have occurred.
 </WRAP> </WRAP>
 +
 +----
  
 <WRAP group> <WRAP group>
display_message.txt · Last modified: 2021/06/29 19:37 by justin