create a variable, and on create actor, set your var like this: [your Var name]=3;
then when the enemy is hit do this code: [your Var name]=[your Var name]-1;
that should work.
if you to make a variable, in the scritp editor, select the variable buttons and click create
You could also do [your name var=-1] for a shortcut with the same results
"Take your wings outside, you cant fly in here, besides purple skies are betting soaring for you my angel, you're an angel, you little devil. As for me I'll be just fine as I stay inside and watch from the window" -Alkaline Trio (Goodbye Forever)