EVENT PRESSEDFIRE
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.