Chat bubble

From Unofficial QEdit Wiki Guide
Revision as of 21:37, 23 May 2013 by Japanaman2 (Talk | contribs)

Jump to: navigation, search

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 

Also see

get-slotnumber, ret, close_chat_bubble