JumpIfNoAmmo

From Eternity Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Extended version of CheckReload that allows to choose what frame to jump to if there's not enough ammo.

Usage

JumpIfNoAmmo(statenum)

Parameters

  • statenum: Frame to jump to if ammo runs out.

Examples

No examples given.

Notes

This codepointer is mainly for porting ZDoom DECORATE state definition. CheckReloadEx provides more flexibility.

See also