EVENT FIRE: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
EVENT_FIRE is a [[ | EVENT_FIRE is a [[EDuke32 event list|game event]]. | ||
This [[event]] is called when the player | 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.