Difference between revisions of "EVENT WEAPKEY2"

From EDukeWiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
This [[event]] is called when the player presses the key assigned to drawing the pistol (''2'' by default).
 
This [[event]] is called when the player presses the key assigned to drawing the pistol (''2'' by default).
 +
 +
Gamevar [[RETURN]] holds the ID of the weapon being selected.
 +
Setting gamevar [[RETURN]] to certain value will force the choosen weapon to be selected.
  
 
[[Category:Events]]
 
[[Category:Events]]

Revision as of 11:01, 4 May 2009

EVENT_WEAPKEY2 is a game event.

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

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