Difference between revisions of "EVENT WEAPKEY3"

From EDukeWiki
Jump to navigation Jump to search
m
m (typo)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
EVENT_WEAPKEY3 is a [http://www.eduke32.com/wiki/index.php?title=EDuke32_event_list Game Event].
+
EVENT_WEAPKEY3 is a [[EDuke32 event list|game event]].
  
 
This [[event]] is called when the player presses the key assigned to drawing the shotgun (''3'' by default).
 
This [[event]] is called when the player presses the key assigned to drawing the shotgun (''3'' by default).
 +
 +
Gamevar [[RETURN]] holds the ID of the weapon being selected.
 +
Setting gamevar [[RETURN]] to a certain value will force the chosen weapon to be selected.
 +
 +
[[Category:Events]]

Revision as of 13:06, 5 February 2015

EVENT_WEAPKEY3 is a game event.

This event is called when the player presses the key assigned to drawing the shotgun (3 by default).

Gamevar RETURN holds the ID of the weapon being selected. Setting gamevar RETURN to a certain value will force the chosen weapon to be selected.