I'm trying to have a bullet change the enemy's variable to 1 when hit. I have a c_trace set up, and then this code.
Code:
if(you){
if(you.skill22 == 1){
you.enemydead = 1;
}
}


Then I get the error "enemydead" : is not a member of 'ENTITY' when I run the game. What am I doing wrong?