// Put this with your DECORATE code. Actor NewTeleportFog : TeleportFog Replaces TeleportFog { States { Spawn: TNT1 A 0 NoDelay ACS_NamedExecuteWithResult("Spawn_TeleportFog") Goto Super::Spawn } } // Put this with your ACS code. Script "Spawn_TeleportFog" (void) { int telefogTID = UniqueTID(); Thing_ChangeTID(0, telefogTID); // Check if the teleport fog has a target. If not, remove it. if(!SetActivatorToTarget(telefogTID)) { StopSound(teleFogTID, CHAN_BODY); Thing_Remove(teleFogTID); } }