A_BossDeath

From ZDoom Wiki
Jump to: navigation, search

A_BossDeath

(no parameters)


Checks whether all monsters of the calling type are dead and if so executes all special actions that are assigned to this type. Special actions have to be assigned to a monster with the specialaction MAPINFO command.

Examples

The Baron of Hell, for example, uses A_BossDeath in its Death sequence - that is called in E1M8 when both Barons have died, and thus performs the map's specialaction (in this case, lower the walls).

 Death:
   BOSS I 8
   BOSS J 8 A_Scream
   BOSS K 8
   BOSS L 8 A_NoBlocking
   BOSS MN 8
   BOSS O -1 A_BossDeath
   stop
Personal tools
Namespaces

Variants
Actions
Navigation
ACS
DECORATE
ZDoom mods
Toolbox