Difference between revisions of "Add msg"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Syntax)
 
(5 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>add_msg</span></span>
 
''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>add_msg</span></span>
  
* ''None''
+
* string = Message to display
 +
* See list of [[Special characters]]
  
 
==Use==
 
==Use==
Line 9: Line 10:
 
==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/Object with Script ID 300 display message at Character/Object with ID 100 dec</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 to message another 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>
  
==Related==
+
==Also see==
 
[[window_msg]], [[message]], [[ret]], [[mesend]]
 
[[window_msg]], [[message]], [[ret]], [[mesend]]

Latest revision as of 14:04, 9 April 2021

Syntax

Syntax: add_msg

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

Also see

window_msg, message, ret, mesend