Difference between revisions of "A Fall"

From DoomWiki.org

[checked revision][checked revision]
(recategorize)
m (External links)
Line 74: Line 74:
 
== External links ==
 
== External links ==
 
* {{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.
 +
* {{zdoomwiki|title=A_Fall}}
 +
* {{eterwiki|title=Fall}}
  
 
[[Category:Core monster AI code pointers]]
 
[[Category:Core monster AI code pointers]]

Revision as of 18:12, 17 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