Set quest board handler

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: set_quest_board_handler xxxxxxxx, Function, String

  • xxxxxxxx (DWORD1) = Hex value of the quest board item it will display from left to right. (Acceptable values: 00000000, 00000001, 00000002, 00000003, 00000004.)
  • Function = Function number to call up.
  • string = Message to display
  • Reserved register(s) (R74, R75, R76, R77, R78.)

Use

Used to set up a quest board item so when you select the selected quest board item it know what the name of the item is and which box it should be using on the quest board as well as actually display the item on the quest board.

Example


100:     set_quest_board_handler 00000000, 2, 'Name of quest board item 0' //Sets 00000000 to use the most left quest board item. (To use the other quest board items just replace 00000000 with 00000001, 00000002, 00000003, or 00000004.) Calls function 2 when you press enter on the selected quest board item. The Name for the quest board item.
         set R74 //Allows for the most left quest board item to display. (To get the other quest board items to display just make sure that the DWORD matches the reserved register. (00000000 R74. 00000001 R75. and so on)
         ret 

Also see

set, Reservedregisters, ret