EVENT FIRE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
This event is called when the player fires ( default key is "CTRL" ).
This event is called when the player fires ( default key is "CTRL" ). Setting the gamevar RETURN to positive values disable firing.


The hard-coded [[gamevar]] [[WEAPON]] contains the variable for the player's current weapon.
The hard-coded [[gamevar]] [[WEAPON]] contains the variable for the player's current weapon.

Revision as of 12:21, 28 July 2008

This event is called when the player fires ( default key is "CTRL" ). Setting the gamevar RETURN to positive values disable firing.

The hard-coded gamevar WEAPON contains the variable for the player's current weapon.

See also EVENT_PRESSEDFIRE and EVENT_DOFIRE.