Difference between revisions of "Chat bubble"
From Unofficial QEdit Wiki Guide
Japanaman2 (Talk | contribs) |
Japanaman2 (Talk | contribs) |
||
Line 2: | Line 2: | ||
''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:red'>chat_bubble </span>T_DWORD, T_STR</span> | ''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:red'>chat_bubble </span>T_DWORD, T_STR</span> | ||
− | * ''T_DWORD'' = Hex value of the character id to say the chat_bubble message. | + | * ''T_DWORD'' = Hex value of the character id to say the chat_bubble message. (Can also use reserved register 250 players slot number.) |
* ''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. |
Revision as of 21:37, 23 May 2013
Contents
Syntax
Syntax: chat_bubble T_DWORD, T_STR
- T_DWORD = Hex value of the character id to say the chat_bubble message. (Can also use reserved register 250 players slot number.)
- 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: get_slotnumber R250 //Stores the players slot number in register 250.
ret
101: chat_bubble 00000000, chat_bubble<cr>message test. //Displays a chat bubble message from character id 00000000.
close_chat_bubble R250 //Closes the chat bubble.
ret