EVENT INVENTORYRIGHT

From EDukeWiki
Revision as of 16:47, 26 October 2014 by Nexus (talk | contribs) (grammar)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

EVENT_INVENTORYRIGHT is a Game Event.

This event is called when the player moves to the right in his inventory ( default key is "]" ). See also EVENT_INVENTORYLEFT and EVENT_INVENTORY.

Gamevar RETURN holds the value of the item being selected.

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

Setting gamevar RETURN to a certain value will force that item to be selected.