EVENT WEAPKEY1: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
Nexus (talk | contribs)
m typo
Line 4: Line 4:


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


[[Category:Events]]
[[Category:Events]]

Revision as of 13:04, 5 February 2015

EVENT_WEAPKEY1 is a game event.

This event is called when the player presses the key assigned to using the Mighty Boot as a primary weapon (1 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.