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
display_message [2021/06/29 18:53] justindisplay_message [2021/06/29 19:37] (current) justin
Line 2: Line 2:
 ---- ----
  
-Displays a [[dialogue]] box with the specified message text. Interaction with the scene will be disabled until the player clicks the left mouse button or presses SPACE to dismiss it. The optional "speaker" parameter, along with the [[Display Choices]] function, can be used to create some simple, on the fly conversations without the need for a standalone [[dialogue]] file.+Displays a [[dialogue]] box with the specified message text. Interaction with the scene will be disabled until the player clicks the left mouse button or presses SPACE to dismiss it. The optional "speaker" parameter, along with the [[Display Choices]] function, can be used to create simple, on the fly conversations without the need for a standalone [[dialogue]] file.
  
 ====Signature:==== ====Signature:====
Line 11: 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|
-|speaker|[[character|Character]] that will speak the message.|[[Entity]]|No|+|speaker|[[character|Character]] who will speak the message.|[[Entity]]|No|
  
 <WRAP center round info 100%> <WRAP center round info 100%>
Line 36: Line 36:
  
 <WRAP half column> <WRAP half column>
-====Visual Demo:==== +====Visual Demo:====
 {{:wiki:display_message_demo.gif?nolink|}} {{:wiki:display_message_demo.gif?nolink|}}
 </WRAP> </WRAP>
display_message.1625018002.txt.gz · Last modified: 2021/06/29 18:53 by justin