IMM_HUNT
Keywords: IMM_HUNT, WIZ_HUNT
=== STAFF MANUAL ===
Usage: hunt <hunter> <victim>
Description:
Attach a live pathfinding path from a mobile to a target
character. The named hunter is an NPC; the victim is any
character in the game -- player or mob. While the path is
attached, the hunter will step toward the victim one room at
a time on its normal mobile action tick, traversing closed
doors where needed, until it either reaches the target, is
extracted, or has the path cleared.
Use this to stage a live chase, send a tracker after a
hidden player, or seed a zone event where a specific NPC needs
to converge on a specific target.
Arguments:
<hunter> ....... The NPC that will do the hunting. Must
resolve to a mob -- players are rejected
with "Hunter not found.".
<victim> ....... Any character visible to you in the world.
If nothing matches, you see "Victim not
found.".
Output:
On a successful path, you see:
<victim> is now hunted by <hunter>.
If the hunter has no route to the victim (because the
target is in an unreachable zone, behind a locked barrier,
or beyond the 200-room search radius), you see:
<hunter> can't reach <victim>.
Path Characteristics:
Search radius .... Up to 200 rooms between hunter and
victim, measured in path hops.
Doors ............ The search uses HUNT_THRU_DOORS, so
closed and locked doors do not block
pathfinding -- the hunter will step
through them on its way.
Global ........... HUNT_GLOBAL lets the search cross zone
boundaries, so a hunter can chase a
victim all the way across the world so
long as they remain within the radius.
Restrictions:
- Requires the Game staff permission.
- Both arguments are required; omitting either prints
the usage line.
- Each hunt call replaces the hunter's existing path --
there is no stacking. Re-running the command on the
same mob retargets it cleanly.
Notes:
- hunt attaches a path, not a hate entry. The hunter
will chase and typically attack on arrival, but this
command does not add the victim to the mob's m_Hates
list -- use repiss when you want the mob to remember
the grudge across a disengagement.
- A victim who moves during the chase forces the mob to
recompute its next step each action tick; they can be
outrun with enough distance or by leaving the 200-room
reachable window.
- The path is live-only state and is discarded when the
mob is extracted or the zone resets.
Related Helpfiles: WIZ_DEPISS
=== END MANUAL ===