Log in

View Full Version : sub EVENT_SLAY problems


ChaosSlayerZ
05-27-2009, 08:38 PM
I have tested
sub EVENT_SLAY
and
sub EVENT_NPC_SLAY

and here is the problem.

sub EVENT_SLAY only triggers when npc kills a player, but never when npc kills npc

sub EVENT_NPC_SLAY trigger when npc kills npc BUT it triggers of the npc who was killed, but appears in game as said by npc who did the killing.

Tested like this:

A qeynos guard has message "and stay down!" when he kills someone
A gnoll pup has message "for Blackburrow!" when he kills someone

when guard kills gnoll pup I see following in chatbox:

Qeynos Guard says "For blackburrow!" :D

Theeper
05-29-2009, 11:03 AM
I remember messing with this a while back. Here is a thread I posted about it.

http://eqemulator.net/forums/showthread.php?t=24347