View Single Post
  #1  
Old 05-27-2009, 08:38 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default sub EVENT_SLAY problems

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!"
Reply With Quote