player.pl or something else to update a counter?
Each time a person dies is there a way to run commands on them? Like death_counter = death_counter + 1? Vice versa, if someone kills something that they get a kill_counter?
|
If you are talking about NPCs vs Players, then you could probably use this:
sub EVENT_SLAY - Triggered whenever an NPC kills someone. And then just use quest globals to keep track of your scores. For players killing NPCs, you can just use this: sub EVENT_KILLED_MERIT - Triggered on NPC death when you are in the group credited with doing the most damage to said loottable NPC. If you want to keep track of player vs player, I haven't tried it, but maybe you could use EVENT_ZONE and check the players current HPs when they zone to see if they are <= 0. If so, then you up the counter for them being killed, but I don't know how you would up a counter for killing another player. |
All times are GMT -4. The time now is 09:07 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.