EVENT PRESSEDFIRE: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Doom64hunter (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{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]]. | EVENT_PRESSEDFIRE is a [[EDuke32_event_list|Game Event]]. | ||
This [[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 | 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 14: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.