EVENT USE: Difference between revisions
Jump to navigation
Jump to search
LordMisfit (talk | contribs) mNo edit summary |
Doom64hunter (talk | contribs) mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
EVENT_USE is a [ | {{EventTable|1=EVENT_USE|2=player that executed the input|3=[[i|player->i]]|4=1 value}} | ||
EVENT_USE is a [[EDuke32_event_list|Game Event]]. | |||
This [[event]] is called when the player presses the key assigned to interacting with | This [[event]] is called when the player presses the key assigned to interacting with objects, e.g. opening doors or flipping switches (''spacebar'' or 'E' by default). | ||
Set gamevar [[RETURN]] to any non-zero value to ignore the key. | |||
[[Category:Events]] | [[Category:Events]] |
Latest revision as of 13:12, 4 February 2022
Event ID | player# | THISACTOR | RETURN | |
---|---|---|---|---|
EVENT_USE | player that executed the input | player->i | 1 value |
EVENT_USE is a Game Event.
This event is called when the player presses the key assigned to interacting with objects, e.g. opening doors or flipping switches (spacebar or 'E' by default).
Set gamevar RETURN to any non-zero value to ignore the key.