CheckAmmo

From Eternity Wiki
Jump to navigationJump to search

Description

Changes weapon frame if ammo is below amount.

Usage

A_CheckAmmo(frame, amount)

Parameters

  • frame: frame (state) to jump to if ammo is below amount
  • amount: how much ammo to compare

Examples

No examples given.

Notes

MBF21 introduced this codepointer. Eternity also offers CheckReloadEx which is more flexible.

See also