http://geck.gamesas.com/index.php/GetAttacked
I was hoping for something that captured the player or an NPC having taken damage or a hit as a moment in time kind of thing, but didn't see such a thing. Has anybody used GetAttacked? There just isn't much in the wiki about it and the definition of "attacked," leaves a little bit to be desired IMO, but there you go. I'm not exactly sure when the attack would be defined to have begun? After detection, at some level of detection, when shooting (or whacking or whatever) and missing, when successfully connecting with the target? Is attack a term like detection and I should know it and noobishly have missed that?
Or, better yet, is there something that does address the player and/or an NPC taking damage or a hit and I've just overlooked it?
Thanks,
:) llama