- Code: Select all
life.textNumber = life.textNumber - 15;
when the life gets to zero can i do, if (life) = <0; Destroy Actor ("player");
life.textNumber = life.textNumber - 15;
textNumber = 100;
if (life.textNumber =< 0) DestroyActor("player");
if (life.textNumber =< 0) DestroyActor("player");
Users browsing this forum: No registered users and 1 guest