A_JumpIfHealthLower

From ZDoom Wiki

Jump to: navigation, search

A_JumpIfHealthLower (int health, int offset)
A_JumpIfHealthLower (int health, str state)


Warning: Using state labels as arguments without quotation marks has been deprecated and will no longer work. Make sure to enclose all your string arguments with quotation marks to ensure full compatibility with future ZDoom versions. Refer to the available example(s) for proper usage


Jumps the specified amount of states forward if the health of the calling actor is lower than the given value.

Examples

Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.
Personal tools