Queueopt
From Hercules Wiki
Revision as of 14:18, 30 October 2013 by Dastgirpojee (Talk | contribs)
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");