Difference between revisions of "Queueopt"

From Hercules Wiki
Jump to: navigation, search
(Created page with "== Syntax == *queueopt(<queue_id>,<optionType>,{Optional <option val>}); == Description == Modifies <queue_id>'s <optionType>. When <option val> is not present(i.e 0), <option...")
 

Latest revision as of 14:18, 30 October 2013

Syntax

  • queueopt(<queue_id>,<optionType>,{Optional <option val>});

Description

Modifies <queue_id>'s <optionType>. When <option val> is not present(i.e 0), <optionType> is removed from <queue_id>. When <optionType> present it modifies <queue_id>'s <optionType> with the new <option val> value.

Currently 3 options are available: HQO_OnDeath (1), HQO_OnLogout (2), HQO_OnMapChange (3)

Note: The constant names are not final and may change.

Example

 queueopt(.@queue_id,0,"MyNPC::MyOnQueueMemberDeathEventName");