EVENT INVENTORYLEFT

From EDukeWiki
Revision as of 15:49, 4 February 2022 by Doom64hunter (talk | contribs)
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_INVENTORYLEFT player that executed the input player->i 1 value

EVENT_INVENTORYLEFT is Game Event.

This event is called when the player moves the inventory cursor to the left ( default key is "[" ).

Gamevar RETURN holds the value of the item being selected. Setting it to 0 or less will cause no change.

0 - None
1 - Portable Medkit
2 - Steroids
3 - Holoduke
4 - Jetpack
5 - Nightvision Googles
6 - Scuba Gear
7 - Boot

Set the gamevar RETURN to one of these values will force the chosen item to be selected.

See also EVENT_INVENTORYRIGHT and EVENT_INVENTORY.