Difference between revisions of "A Fall"

From DoomWiki.org

[checked revision][checked revision]
(add some more detail)
(recategorize)
Line 75: Line 75:
 
* {{DoomSrc|file=p_enemy.c|line=1585|text=A_Fall}} in the Doom source code.
 
* {{DoomSrc|file=p_enemy.c|line=1585|text=A_Fall}} in the Doom source code.
  
[[Category:Code pointers]]
+
[[Category:Core monster AI code pointers]]

Revision as of 21:15, 16 March 2020

A_Fall is a code pointer used in the explode and death animations for the Player and various monsters.

A_Fall removes the SOLID flag from the object it is attached to. It is used during death animations to transition monsters from their normal blocking state to corpses that can be walked over.

Uses

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

Example

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

Pointer 21 (Frame 34)
Codep Frame = 751

Or using BEX syntax:

[CODEPTR]
Frame 1234 = Fall

External links

  • A_Fall in the Doom source code.