Difference between revisions of "Add msg"
From Unofficial QEdit Wiki Guide
LunarFuror (Talk | contribs) (→Syntax) |
|||
(2 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> | ||
− | * | + | * 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'> | + | <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'> | + | <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'> | + | <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> | ||
− | == | + | ==Also see== |
[[window_msg]], [[message]], [[ret]], [[mesend]] | [[window_msg]], [[message]], [[ret]], [[mesend]] |
Latest revision as of 14:04, 9 April 2021
Contents
Syntax
Syntax: add_msg
- string = Message to display
- See list of Special characters
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