JumpIfNoAmmo

From Eternity Wiki
Revision as of 16:09, 8 May 2011 by Printz (talk | contribs) (Created page with '{{codepointer|description= Extended version of CheckReload that allows to choose what frame to jump to if there's not enough ammo.|usage= '''JumpIfNoAmmo'''(''statenum'')|par…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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