Difference between revisions of "EVENT INVENTORYRIGHT"

From EDukeWiki
Jump to navigation Jump to search
Line 1: Line 1:
This event is called when the player move to the right in his inventory ( default key is "]" ). See also [[EVENT_INVENTORYLEFT]] and [[EVENT_INVENTORY]].
+
EVENT_INVENTORYRIGHT is a [[EDuke32_event_list|Game Event]].
  
Gamevar RETURN holds the value of the item being selected.
+
This [[event]] is called when the player move 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
 
:'''0''' - None
Line 12: Line 14:
 
:'''7''' - Boot
 
:'''7''' - Boot
  
Setting gamevar RETURN to certain value will force the choosen to the defined item.
+
Setting gamevar [[RETURN]] to certain value will force the choosen to the defined item.
  
 
[[Category:Events]]
 
[[Category:Events]]

Revision as of 10:40, 3 May 2009

EVENT_INVENTORYRIGHT is a Game Event.

This event is called when the player move 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 certain value will force the choosen to the defined item.