
How do you check for a players death with acs?
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!)
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!)
-
- Posts: 8
- Joined: Tue Aug 29, 2023 3:49 am
- Operating System Version (Optional): Windows 11
- Graphics Processor: Intel (Modern GZDoom)
How do you check for a players death with acs?
How do you check if a player has died? I am making a short level and I need to check if the player dies so they move onto the next level. The only way I can think of how to do it is by running a loop that constantly checks if the players health is equal to or lower than 0, but I don't know how to write that. I don't have a lot of knowledge about acs, so if it is some sort of a complex way, if you could explain it I would appreciate it 

-
-
- Posts: 1707
- Joined: Wed May 13, 2009 3:15 am
- Graphics Processor: nVidia with Vulkan support
Re: How do you check for a players death with acs?
No need for crude hacks, there is a DEATH script type specifically for this kind of thing.
-
- Posts: 8
- Joined: Tue Aug 29, 2023 3:49 am
- Operating System Version (Optional): Windows 11
- Graphics Processor: Intel (Modern GZDoom)
Re: How do you check for a players death with acs?
should of thought of that, but anyways, thanks for the helpPlayer701 wrote: ↑Wed Jan 24, 2024 5:47 am No need for crude hacks, there is a DEATH script type specifically for this kind of thing.

-
- Posts: 1562
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: How do you check for a players death with acs?
The mechanism of action is that the script will be executed after player dies. Affecting factors would be the factors that you define. If you have quesrions, you have to be more specific.