EVENT FIRE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
EVENT_FIRE is a [[EDuke32_event_list|Game Event]].
EVENT_FIRE is a [[EDuke32 event list|game event]].


This [[event]] is called when the player fires ( default key is "CTRL" ). Setting the gamevar [[RETURN]] to any non-zero value disables firing.
This [[event]] is called every game [[tic]] when the player is firing.
The hard-coded [[gamevar]] [[WEAPON]] contains the variable for the player's current weapon.
 
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]].
See also [[EVENT_PRESSEDFIRE]] and [[EVENT_DOFIRE]].


[[Category:Events]]
[[Category:Events]]

Revision as of 16:36, 14 April 2013

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.