EVENT USE

From EDukeWiki
Revision as of 13:12, 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_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.