EVENT RETURNTOCENTER

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_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.