Difference between revisions of "Add msg"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
Line 9: Line 9:
 
==Example==
 
==Example==
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
  <span style='color:blue'>300:    </span><span style='color:green'>message </span> 00000064, 'Hello, how are you?' <span style='color:orange'>\\When player actions Character with Script ID 300 display message at Character with ID 100</span>
+
  <span style='color:blue'>300:    </span><span style='color:green'>message </span> 00000064, 'Hello, how are you?' <span style='color:orange'>//When player actions Character with Script ID 300 display message at Character with ID 100</span>
  <span style='color:green'>        add_msg </span> 'Nice to meet you' <span style='color:orange'>\\Add another message to the dialog</span>
+
  <span style='color:green'>        add_msg </span> 'Nice to meet you' <span style='color:orange'>//Add another message to the dialog</span>
  <span style='color:green'>        mesend</span> <span style='color:orange'>\\Close message dialog</span>
+
  <span style='color:green'>        mesend</span> <span style='color:orange'>//Close message dialog</span>
 
  <span style='color:green'>        ret</span>
 
  <span style='color:green'>        ret</span>
 
  </span>
 
  </span>

Revision as of 11:59, 25 March 2011

Syntax

Syntax: add_msg

  • None

Use

Used to add an additional message to a message or window_msg

Example


300:     message  00000064, 'Hello, how are you?' //When player actions Character with Script ID 300 display message at Character with ID 100
         add_msg  'Nice to meet you' //Add another message to the dialog
         mesend //Close message dialog
         ret

Related

window_msg, message, ret, mesend