EVENT INVENTORY

From EDukeWiki
Jump to navigation Jump to search

EVENT_INVENTORY is a Game Event.

This event is called when the player use one of his items in his inventory ( default key is "ENTER" ). See also EVENT_INVENTORYLEFT and EVENT_INVENTORYRIGHT.

Set gamevar RETURN to any non-zero value to ignore the key.