A_DragonCheckCrash

From ZDoom Wiki
Revision as of 16:58, 21 February 2016 by Major Cooke (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_DragonCheckCrash
(no parameter)

Note: Jump functions perform differently inside of anonymous functions.

Checks if the actor has hit the floor. If so, it jumps to the Crash state. This is the same as doing the following:

   DRAG J 4 A_JumpIf (z <= floorz, "Crash")

This codepointer is restricted to Dragon and derived classes.