[quote="Karnizero":2ltyzzln]I remember some time ago, i made a script to spawn monsters, and Crimson Wizard or Firebrand (i don't remember) show us a way to check if the monster could be spawned or not.
I don't remember if this is possible in ACS, so happened I didn't used map scripts for quite a while. I know only a way to do this in progs, but I doubt this fits the task.
If "Spawn( )
" function returns any kind of value (true/false, 0/1, or other), checking if the actor was spawned shouldn't be hard. Something like this could be usefull:
myVariable = Spawn("TeleportFog", GetActorX(0), GetActorY(0), GetActorZ(0));
if (myVariable == false)
//wait some seconds, and try spawning again
I didn't tested, but, in theory, that should work.