View Single Post
  #3  
Old 12-02-2015, 12:25 AM
JimB_1958
Sarnak
 
Join Date: Mar 2013
Location: Springfield MO
Posts: 66
Default

I fiddled around with a bunch of different things and could not get any of them to work until I stumbled into this:

Code:
sub EVENT_DEATH_COMPLETE{

	my $whokilledme = "an unknown hand";
	my $mobid = $entity_list->GetMobID($killer_id);
	$whokilledme= $mobid->GetCleanName();
		
	quest::gmsay("$name the $class has just been killed in $zoneln by $whokilledme ", 335, 1, 0, 0);
	
}
Oddly enough it works for both mobs and pc kills. Only drawback is if the player dies by drowning, falling or anything but a pc or mob there is no text at all.
__________________
"We are all on the same team, and I think not enough people realize this."
- Leetsauce
Reply With Quote