RefireTo

From Eternity Wiki
Jump to navigationJump to search

Description

Changes weapon frame to a given state if the fire button is currently being pressed and the weapon has enough ammo to fire.

Usage

A_RefireTo(frame, skip_ammo_check)

Parameters

  • frame: state to jump to if check passes
  • skip_ammo_check: if nonzero, skip the ammo check and change state

Examples

No examples given.

Notes

Like ReFire, this will change state if player is holding fire, but lets you change to another frame instead of the attack frame.

See also