EVENT PRESSEDFIRE: Difference between revisions

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


This [[event]] turns on when you press the shoot key (Ctrl. by default) and proceeds until this key is holding.
This [[event]] is triggered when you press the primary fire key (''ctrl'' and ''mouse button 1'' by default).
 
Setting [[RETURN]] to any non-zero value will effectively negate the keypress, preventing the player from firing.


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

Latest revision as of 15:07, 4 February 2022

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

EVENT_PRESSEDFIRE is a Game Event.

This event is triggered when you press the primary fire key (ctrl and mouse button 1 by default).

Setting RETURN to any non-zero value will effectively negate the keypress, preventing the player from firing.