hey im trying to make a character have 25 health and each time it gets hit with a bullet for health to go down one so i have in create actor, "health=25;"
then i have on collision with bullet, "health=-1;" and now for the and that was working but now i have to make him die once his health reaches 0 so i did this under draw actor, "(health=25);
if (health==0);
{
DestroyActor("Car_miniboss1");
}
and now he dies a startup... what did i do wrong?