Message

From Unofficial QEdit Wiki Guide
Revision as of 08:27, 24 March 2011 by Tofuman (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Syntax: message WWWWWWWW, X

Format

  • WWWWWWWW (DWORD) = DWORD value of Character/Object ID
  • X (String) = Message to display

Use

Used to display a message from a Character/Object ID

Example


100:     BB_get_number_in_pack  R10 //Set R10 to number of items in inventory.
         jmpi_=  R10, 0000001E, 101 //If R10 equals 30 jump to function 101
         ret
101:     message 00000050, 'Your inventory is full.' //Have NPC with ID 80 dec (00000050 hex) display message
         mesend
         ret

Related

jmpi_=, message, ret, mesend