Difference between revisions of "A BrainDie"

From DoomWiki.org

[checked revision][checked revision]
(Adding new page for code pointer)
 
(add some more detail)
Line 1: Line 1:
 
{{DISPLAYTITLE:A_BrainDie}}
 
{{DISPLAYTITLE:A_BrainDie}}
{{stub}}
 
 
'''A_BrainDie''' is a [[code pointer]] used in the death animation for the [[Big Brain]].
 
'''A_BrainDie''' is a [[code pointer]] used in the death animation for the [[Big Brain]].
 +
 +
<code>A_BrainDie</code> immediately exits the level, analogous to pressing a level exit switch or crossing an exit line special type. It is used for the last frame of the boss brain death sequence for the final level.
  
 
== Uses ==
 
== Uses ==

Revision as of 17:31, 16 March 2020

A_BrainDie is a code pointer used in the death animation for the Big Brain.

A_BrainDie immediately exits the level, analogous to pressing a level exit switch or crossing an exit line special type. It is used for the last frame of the boss brain death sequence for the final level.

Uses

The A_BrainDie code pointer appears in the following states in Doom's state table:

Example

The following is an example of how to set the A_BrainDie code pointer in a Dehacked file:

Pointer 21 (Frame 34)
Codep Frame = 783

Or using BEX syntax:

[CODEPTR]
Frame 1234 = BrainDie

External links