A) A system that causes mobs to chase whoever shot them

Implement code for tracking/walking.
Take the hunt code, and modify it so that the mob/player will continously
walk to the location.
(until they can't for whatever reason).

Once you are to the room there are a few things you could do.
Implement a mob trigger to kill the player.
Or, if you've implemented "mob memory", when the player damages the mob, it
will remember the player.
when it enters the room it will attack automatically.

I use this in a few places.  Once place is similiar to this snippet, I use
'fire' to fire a bow.
If it hits a mob, that mob immediatetly starts heading for the shooter.

The other is a druid skill called "call stampede". it beckons all the
"animals" in the wilderness and they all come running and beat the crap out
of whoever that druid is fighting.

The other place I use this is with the law system.  When a guard, or player,
detects and snitches on a criminal there is potential for all the guards in
the area to track you down after they've punished you, they walk back to
their resets.

Reply via email to