EVENT RETURNTOCENTER

From EDukeWiki
Revision as of 14:44, 4 February 2022 by Doom64hunter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_RETURNTOCENTER player that executed the input player->i 1 value

EVENT_RETURNTOCENTER is a game event.

This event is executed when the center view key is pressed, or if a hard landing occurs.

Set gamevar RETURN to any non-zero value to ignore the event, and skip the 'return to center' effect.