How do you delete all corpses

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Jon Gizzard
Posts: 2
Joined: Fri Apr 24, 2026 7:08 pm

How do you delete all corpses

Post by Jon Gizzard »

I'm trying to mod an endless mode into the game via Zscript and ACS and a frequent issue that's been bugging me is monster corpses, cause after enough waves the game would start lagging, so I need a way to get rid of them for good.

As a small little sidenote does anyone know how to set the floor to an exact height? I know that's probably easier and I just have to check the wiki
User avatar
m8f
 
 
Posts: 1522
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Location: Siberia (UTC+7)

Re: How do you delete all corpses

Post by m8f »

Maybe you just load one of these alongside your mod?

FadeMe by CantSleep: viewtopic.php?p=1237427
Fading Corpses Universal by Beed28: viewtopic.php?p=1203023
Jon Gizzard
Posts: 2
Joined: Fri Apr 24, 2026 7:08 pm

Re: How do you delete all corpses

Post by Jon Gizzard »

The first one worked Thank you

Return to “Scripting”