EVENT FIRE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
One (talk | contribs)
No edit summary
Line 1: Line 1:
This event is called when the player fires ( default key is "CTRL" ). Setting the gamevar RETURN to positive values disable firing.
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.
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 10:22, 3 May 2009

EVENT_FIRE is a 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. The hard-coded gamevar WEAPON contains the variable for the player's current weapon.

See also EVENT_PRESSEDFIRE and EVENT_DOFIRE.