Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Dokta Whawee

Map ending after player death?

Recommended Posts

Yes and yes.

As for how, it depends on the map format.

Vanilla and Boom will require simple use of voodoo dolls (if you don't know what that is, check this nice link from the Doom Wiki: https://doomwiki.org/wiki/Voodoo_doll).

ZDoom (Hexen and UDMF, specifically) can use scripts that execute on death, like this:

script 1 DEATH
 Delay (35);
 Exit_Normal (0);

Note that the script will execute at any point that the player dies, but the voodoo doll death exits have to be triggered by a linedef special.

Share this post

Link to post

Only one issue with that is if the player presses use before 35 tics it will restart the map or load the last save. A shorter duration would be better, more akin to the E1M8 death exit special without the damaging floor.


EDIT: An even better way might be to use a looping script to check for player health constantly and then break out of the loop at the very tic it reaches 0, then end the level. That method would be near unbreakable.

Edited by Nevander

Share this post

Link to post

Well, I tried the script that Aquila Chrysaetos suggested, but whenever I start the map, it says "No Player 1 Start", even though Player 1 Start is obviously there... What is going on?

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now