FLOOR - INSTANT DEATH but for MONSTERS?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

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!)
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England

FLOOR - INSTANT DEATH but for MONSTERS?

Post by Hidden Hands »

I have made a floor instant death if touched. But this is only affecting the player and not the enemies. I can't seem to be able to fix it. Can someone advise me on this please?

Thanks in advance.
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: FLOOR - INSTANT DEATH but for MONSTERS?

Post by ramon.dexter »

Now try to answer you question. Does ot contain all the information? No, it does not. So please provide all the information. Like the code...
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England

Re: FLOOR - INSTANT DEATH but for MONSTERS?

Post by Hidden Hands »

ramon.dexter wrote:Now try to answer you question. Does ot contain all the information? No, it does not. So please provide all the information. Like the code...
I have no code for the instant death floor, It just uses the sector setting "instant death." this kills the player instantly. But monsters are unaffected by it.
User avatar
gwHero
Posts: 360
Joined: Mon May 08, 2017 3:23 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: The Netherlands

Re: FLOOR - INSTANT DEATH but for MONSTERS?

Post by gwHero »

Don't know if there's a flag for this (could be useful to have it).

But this might help: https://zdoom.org/wiki/SectorDamage
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: FLOOR - INSTANT DEATH but for MONSTERS?

Post by ramon.dexter »

The original post didnt described the issue fully, so I wanted you to provide some clearance.
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England

Re: FLOOR - INSTANT DEATH but for MONSTERS?

Post by Hidden Hands »

ramon.dexter wrote:The original post didnt described the issue fully, so I wanted you to provide some clearance.
Ah sorry I apologise for not being clear.
gwHero wrote:Don't know if there's a flag for this (could be useful to have it).

But this might help: https://zdoom.org/wiki/SectorDamage
Ahhh interesting will check this over tonight.

Return to “Scripting”