(06-29-2012, 07:48 PM)EXAWOLT Wrote: if you want the area to work several times, just change the true to false.
instead of creating an enemy at a entity, i suggest to set out one in the editor and make him inactive, and when colliding with the area, the monster will be activated, and if you die, the monsters will always dissappear but when you collides with the area it will respawn.
SetEntityActive("Monster", true);
I tried it but he wont even spawn when i collide with the area anymore
(06-29-2012, 07:48 PM)EXAWOLT Wrote: if you want the area to work several times, just change the true to false.
instead of creating an enemy at a entity, i suggest to set out one in the editor and make him inactive, and when colliding with the area, the monster will be activated, and if you die, the monsters will always dissappear but when you collides with the area it will respawn.
SetEntityActive("Monster", true);
Heres a pic
i want it so that if the player fails, everything resets, such as the enemy pos and the fadeout script area