The ai_queue trigger has 20 different queues available to use. The trigger’s subject is the NPC type.

There are a few conventions used globally:

[ai_queue1,type] runs on retaliate - this means something has hit them and the NPC may react.

[ai_queue2,type] runs on damage - this means something has hit them and the NPC may apply that damage.

[ai_queue3,type] runs on death - this means something has dropped their health to 0 and the NPC may drop items or advance a player’s quest state.

[ai_queue8,type] runs on bind spells - this means something has hit them with a bind spell and movement should be blocked for a period of time.

Outside of these conventions, developers may use any queue “ID” to handle special logic.

Hunts may be configured to run queues when they find a target.