Init line of an enemy unit:
this addeventhandler ["killed", { [this,player] exec "enemygotkilled.sqs"}]
enemygotkilled.sqs_guy=_this select 0;
_killer=_this select 1;
;----------------------
?_killer!= player : exit
_kills=0
;---------------------
#start
_kills=_kills+1
hint format ["Rating : %1\n Health Status : %2\n\n Number of enemies killed : %3/n",rating player,getdammage player,_kills]
exit
;---------------------------------
Everything went fine, except that i don't know how to make them with
titletext Also i wanted to add >>>>number of enemies left in a trigger area (trigger name is area1), but i
how to do that......