EVENT WEAPKEY5: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Nexus (talk | contribs)
m typo
(One intermediate revision by one other user not shown)
Line 2: Line 2:


This [[event]] is called when the player presses the key assigned to drawing the RPG (''5'' by default).
This [[event]] is called when the player presses the key assigned to drawing the RPG (''5'' 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]]
[[Category:Events]]

Revision as of 13:07, 5 February 2015

EVENT_WEAPKEY5 is a game event.

This event is called when the player presses the key assigned to drawing the RPG (5 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.