BossDeath: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with 'Type: Miscellaneous, normal. Purpose: DOOM/Heretic special, works only on specified levels, such as E1M8(DooM), Map07(DooM II) and E5M8(Heretic).')
 
No edit summary
Line 1: Line 1:
Type: Miscellaneous, normal.
{{codepointer|description=Signals a boss death, so a level-specific action can occur.
|usage='''BossDeath'''
|notes=The levels and the monster species where this occurs have IWAD defaults (such as the E1M8 baron of hell death) and can be customized in [[EMAPINFO]]. See the '''boss-specials''' property there on how to customize it yourself.


Purpose: DOOM/Heretic special, works only on specified levels, such as E1M8(DooM), Map07(DooM II) and E5M8(Heretic).
The monster needs to be dead when calling this codepointer. It ''will'' check if all players are alive at that moment. This can bring up issues in cooperative mode, if all players are down at that exact moment. If you want to skip this player life check, use [[HticBossDeath]] instead. Also beware if the monster also has a gib death animation; it should also call '''BossDeath''' from there. Finally, as it can happen in the original game too, any respawning or resurrection is going to retrigger this special each time the last living monster at that moment is killed, so beware of potential gameplay soft locks.
 
This special doesn't have anything to do with the EMAPINFO '''levelaction''' specifier.
|seealso=
*[[BrainDie]]: unconditional level exit on death
*[[HticBossDeath]]: alternative which follows Heretic's rules and doesn't check for player life
*[[KeenDie]]: universal opener for 666-tagged doors.}}

Revision as of 05:25, 6 November 2021

Description

Signals a boss death, so a level-specific action can occur.

Usage

BossDeath

Parameters

No parameters.

Examples

No examples given.

Notes

The levels and the monster species where this occurs have IWAD defaults (such as the E1M8 baron of hell death) and can be customized in EMAPINFO. See the boss-specials property there on how to customize it yourself.

The monster needs to be dead when calling this codepointer. It will check if all players are alive at that moment. This can bring up issues in cooperative mode, if all players are down at that exact moment. If you want to skip this player life check, use HticBossDeath instead. Also beware if the monster also has a gib death animation; it should also call BossDeath from there. Finally, as it can happen in the original game too, any respawning or resurrection is going to retrigger this special each time the last living monster at that moment is killed, so beware of potential gameplay soft locks.

This special doesn't have anything to do with the EMAPINFO levelaction specifier.

See also