Shin Noir |
09-22-2009 07:08 PM |
via quest script it'd be something like ...
use sub EVENT_SLAY - Triggers when the mob kills a client.
then figure out where the player is, hmm.. can't think of how to do that offhand. (how to get x/y/z of client), But once you get the player/client's coordinate, you spawn mob at it. I think you can typecast the client to a mob and use GetX(), something like... $client->CastToMob()->GetX() ? This is more or less a guess with zero testing. Trying to feed you some tinkering suggestions at least. :3
Oh, JUST when a mob DT's them? Not sure the spell that killed the player is tracked via quests... But anything is possible with a slight source mod worst case.
|