EVENT FIRE

From EDukeWiki
Jump to navigation Jump to search

EVENT_FIRE is a game event.

This event is called every game tic when the player is firing.

Setting the gamevar RETURN to any non-zero value disables firing. The hard-coded gamevar WEAPON contains the variable for the player's current weapon.

See also EVENT_PRESSEDFIRE and EVENT_DOFIRE.