Hey so i decided to try to make a code that if certain monstes have been killed prior to this script being activate, the very same monsters are respawned at the spot, but when the script is called after the monsters being dead it doesn't do jack shit. Here's the script:
Script 4 (void)
{
Line_SetBlocking (14, 0, BLOCKF_EVERYTHING);
Floor_LowerToNearest (25, 32);
SpawnSpot ("lostsoul", 28);
SpawnSpot ("lostsoul", 29);
SpawnSpot ("lostsoul", 30, 0, 90);
SpawnSpot ("lostsoul", 31, 0, 270);
Delay(1);
if(thingcountname("revenant",34) > 0)
{
SpawnSpot ("revenant", 32);
}
Delay(1);
if(thingcountname("revenant",35) > 0)
{
SpawnSpot ("revenant", 33);
}
}
Before you ask the lost souls does indeed spawn, the problem is the revenants not spawning at all. Been trying to do a script where if one gets killed it automatically spawns another but i got a runaway script error so i gave upn on this idea
