EVENT PRESSEDFIRE

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.