EVENT PREUPDATEANGLES
Jump to navigation
Jump to search
Event ID | player# | THISACTOR | RETURN | |
---|---|---|---|---|
EVENT_PREUPDATEANGLES | player that executed the input | player->i | 0 values |
EVENT_PREUPDATEANGLES is a Game Event.
This event triggers once each frame, just before the mouse input is used to update the input struct values.
This makes it possible to alter input[].q16avel and input[].q16horz at the same rate at which mouse inputs are handled by the engine.
The primary use for this event is to alter the speed at which mouse movement shifts the player's camera angle, or to completely lock the player's view.