Difference between revisions of "Set quest board handler"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Syntax)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
==Syntax==
 
==Syntax==
''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>set_quest_board_handler</span></span>
+
''Syntax:'' <span style='font-size:12px;font-family:courier'><span style='color:green'>set_quest_board_handler</span> xxxxxxxx, Function, String</span>
  
* ''xxxxxxxx (DWORD) = Hex value of the quest board item it will display from left to right. (Acceptable values: 00000000, 00000001, 00000002, 00000003, 00000004.)''
+
* ''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.''
 
* ''Function = Function number to call up.''
* ''String = Message to display.''
+
* string = Message to display
 +
** See list of [[Special characters]]
 
* ''Reserved register(s) (R74, R75, R76, R77, R78.)''
 
* ''Reserved register(s) (R74, R75, R76, R77, R78.)''
  

Latest revision as of 14:05, 9 April 2021

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