CheckAmmo: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{codepointer|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 |notes=MBF21 introduced this codepointer. Eternity also offers CheckReloadEx which is more flexible. |seealso= *CheckReloadEx}}")
 
(No difference)

Latest revision as of 15:02, 24 October 2024

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