EVENT RETURNTOCENTER: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
LipShEZ (talk | contribs)
Drafting this event.
 
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{EventTable|1=EVENT_RETURNTOCENTER|2=player that executed the input|3=[[i|player->i]]|4=1 value}}
EVENT_RETURNTOCENTER is a [[EDuke32_event_list|game event]].
EVENT_RETURNTOCENTER is a [[EDuke32_event_list|game event]].


This [[event]] functioning continuously during center view key is pressed or instantly when player lashes the ground.  
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.


[[Category:Events]]
[[Category:Events]]

Latest revision as of 14:44, 4 February 2022

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.