A_KeenDie

Checks whether all actors of the calling actor's type are dead and if so opens all doors with the tag 666.

A_KeenDie [(int tag)]

If tag is specified, it will be used in place of 666.

Examples

This example is taken from Doom's Commander Keen decoration.

 Death:
   KEEN AB	6
   KEEN C	6 A_Scream
   KEEN DEFGH	6
   KEEN I	6 A_NoBlocking
   KEEN J	6
   KEEN K	6 A_KeenDie
   KEEN L   -1
   Stop
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.