Branloch
16 Mar 2004, 10:49 PM
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
16 Mar 2004, 10:50 PM
Gah!
Stupid Internet Explorer put this in the wrong forum. It was supposed to be in Scripting Help...
aphyd06
17 Mar 2004, 12:24 PM
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