I am trying to implement a one time explosion into my invasion map for effect. I have a "shield generator" that I want to "explode" at the end of phase one. I want it to appear that the attackers destroyed the generator, causing the "sheild" to go down. The mechanics of the phase works fine, but I would like to add an actual explosion to it for a more dramatic effect.
I can't get it to work like I want. The difficulty is I can't find a way to spawn something only once at the beginning of a phase and not respawn after it's destroyed. I can make the fusion coil spawn at the beginning of phase two no problem, but it's the spawn time I cannot figure out. If I set it to "never" it never spawns. If I set it to 1 it spawns a new one every second. I want a single event explosion, but this causes continuous explosions every second for the rest of the game. If I set the time to 180, it takes several minutes to spawn and doesn't explode at the same time the shields go down at the end of phase one, which defeats the purpose. I cannot find a way to make it spawn at the beginning of phase 2, explode, and then never re-spawn again.
I also tried setting the fusion coil on top of an object and setting the object to INV_GATE so it would disappear at the end of phase one. I thought if I set the fusion coil's physics to normal it would fall down and explode when the object disappeared from underneath it, but when I tried this, it remained fixed in the air unless I got very close to it and disturbed it.
There has to be a way to spawn a single event explosion at the start of a new phase and that's it. Any suggestions?