If i understand you want to obtain information about something thats been hit,
Maybe try this
This addeventhandler ["Hit",{ whos = _this select 0; who = this select 1; hint format [" %1has been hit and was hit by %2",whos,who]}];
untested syntax but should return who was hit and who hit them or you can try with a damage it will return who was hit and where ;
This addeventhandler ["Dammaged",{ whos = _this select 0; where = this select 1; hint format [" %1 has been hit and was hit in the %2",whos,where]}];
not at my arma pc at mo but any probs i will try to support later. it maybe Damaged not Dammaged can never remeber if it changed in arma1
Edit totatlly misnderstood your post , bu i will leave this here for future reference anyw. seems a combination of DMarkwick and worldeaters solutions are what you need. good luck