KirieZ 88 Posted July 12, 2015 Hello everyone, I would like to know if it's possible to get all the players who "helped" killing a monster, instead of only the one who killed it. Like OnNPCKillEvent, but instead of running on one player, to run on all of them. Does it needs changes in the source? Can you give me some tips from where to start? Thanks in advance. Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted July 12, 2015 (edited) Well i would look in the source code for the OnNPCKillEvent and try to create something like a OnNPCSupportKillEvent based on this. Theoretically you have to track who attacked that mob and afterwards trigger that label for all players that got tracked earlier.. Edited July 12, 2015 by Winterfox Quote Share this post Link to post Share on other sites
0 KirieZ 88 Posted July 12, 2015 I was thinking about using the part where the server does the exp distribution, but I don't know how and where labels are called in source. Quote Share this post Link to post Share on other sites
Hello everyone,
I would like to know if it's possible to get all the players who "helped" killing a monster, instead of only the one who killed it.
Like OnNPCKillEvent, but instead of running on one player, to run on all of them.
Does it needs changes in the source? Can you give me some tips from where to start?
Thanks in advance.
Share this post
Link to post
Share on other sites