EVENT HOLSTER: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
EVENT_HOLSTER is a [http://www.eduke32.com/wiki/index.php?title=EDuke32_event_list Game Event].
{{EventTable|1=EVENT_HOLSTER|2=player that executed the input|3=[[i|player->i]]|4=1 value}}
EVENT_HOLSTER is a [[EDuke32_event_list|Game Event]].


This [[event]] is called when the player presses the key assigned to holster (lower) your weapon (''Scroll Lock'' by default).
This [[event]] is called when the player presses the key assigned to holster (lower) your weapon (''Scroll Lock'' by default).
Set gamevar [[RETURN]] to any non-zero value to ignore the key.
[[Category:Events]]

Latest revision as of 14:38, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_HOLSTER player that executed the input player->i 1 value

EVENT_HOLSTER is a Game Event.

This event is called when the player presses the key assigned to holster (lower) your weapon (Scroll Lock by default).

Set gamevar RETURN to any non-zero value to ignore the key.