Im working on a mmorpg game and I want to have a "Last Hit" function for bosses. (If you have watched the sao anime then you might know what I mean) Basically how would I create a script that checks who hit the enemy last and how many times it got hit.
COMMUNITY QUESTION
How would I create a script that would trace back a hit.parent?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
So you're wanting to detect who killed who?
Please expand on what you want. Also, Scriptinghelpers isn't a request site. Don't ask for us to script you stuff. We can help solve issues you're having, but you need to provide us with information as to what your issue is.
Well in my game its players against monsters. And I was wondering how would I be able to detect the player who attacked the monster. Also, im not asking for the script but the basic jist of it