Help - Search - Members - Calendar
Full Version: Adding Killer tag to Death event
SphereServer Forums > Archived Discussions > Script Requests
Branloch
Ok, here's the deal: [Server Version 55iR3 series]

I've scripted new death events for all monsters on my server. When the creature dies, the event fires and calls a function. Within this function, a bunch of calculations are done and experience is granted.

Now here's the problem:
When the creature gets killed, the console gives a " was killed by accident" message. I know this means that the killer link is being severed by my custom stuff. Question is, how can I relink it back so that the creature is killed by the slayer and the killer link is there?

I've got some other scripts that rely on the killer UID so right now, I've got a few scripts that cannot work until I resolve this.
Branloch
Gah!

Stupid Internet Explorer put this in the wrong forum. It was supposed to be in Scripting Help...
aphyd06
well i would need to see the script to see how vital it is to have the body be linked, but theres many things you can do to get the information from the creature.. You can make several temporary tags on the person who killed the monster and then have them run a function to calc the exp, just a question how does ur script 'sever' the link? Do you have 'return 1' 's when ur not supposed to? You might wanna try adding return 0's instead
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.