Siwler is setting his levels up in wed where he also sets up the monsters and attaches the script. So when he kills a monster and leaves a level and comes back then the monster would be back no matter how many times it was killed. My way sets it up to check to see if he was killed before, and now that I am at a computer and not an iphone i can write it out a bit better

var monster_1_alive = 1;

function monster_1_function()
{
//if i am dead then what am i doing here?
if(monster_1_alive == 0)
ent_remove(me);

//i guess im alive so i should have some health
my.health = 100;

//while i have that health i should hang around
while(my.health > 0
{

wait(1);
}

//guess i'm dead now
monster_1_alive = 0;

//goood bye cruel world
ent_remove(me);
}


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!