Difference between revisions of "Chat bubble"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Syntax)
 
(4 intermediate revisions by one other user not shown)
Line 5: Line 5:
  
 
* ''T_STR'' = Text string what you want your message to say goes here.
 
* ''T_STR'' = Text string what you want your message to say goes here.
 +
** See list of [[Special characters]]
  
 
==Use==
 
==Use==
Line 11: Line 12:
 
==Example==
 
==Example==
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
  <span style='color:blue'>100:    </span><span style='color:green'>get_slotnumber </span>R250 <span style='color:orange'>//Stores the players slot number in register 250.</span>
+
  <span style='color:blue'>100:    </span><span style='color:red'>chat_bubble </span>00000000, chat_bubble<cr>message test. <span style='color:orange'>//Displays a chat bubble message from character id 00000000.</span>
<span style='color:green'>        ret </span>
+
<span style='color:blue'>101:    </span><span style='color:red'>chat_bubble </span>00000000, chat_bubble<cr>message test. <span style='color:orange'>//Displays a chat bubble message from character id 00000000.</span>
+
<span style='color:red'>        close_chat_bubble </span>R250 <span style='color:orange'>//Closes the chat bubble.</span>
+
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>
 
  </span>
 
  </span>
  
 
==Also see==
 
==Also see==
[[get-slotnumber]], [[ret]] [[close_chat_bubble]]
+
[[ret]]

Latest revision as of 14:08, 9 April 2021

Syntax

Syntax: chat_bubble T_DWORD, T_STR

  • T_DWORD = Hex value of the character id to say the chat_bubble message.
  • T_STR = Text string what you want your message to say goes here.

Use

Used to display a chat bubble message from the character id defined in the T_DWORD of this opcode.

Example


100:     chat_bubble 00000000, chat_bubble<cr>message test. //Displays a chat bubble message from character id 00000000.
         ret 

Also see

ret