Difference between revisions of "EVENT INVENTORYLEFT"

From EDukeWiki
Jump to navigation Jump to search
m
m (copyed)
 
Line 14: Line 14:
 
:'''7''' - Boot
 
:'''7''' - Boot
  
Setting gamevar [[RETURN]] to certain value will force the choosen to the defined item.
+
Set the gamevar [[RETURN]] to one of these values will force the chosen item to be selected.
  
 
[[Category:Events]]
 
[[Category:Events]]

Latest revision as of 12:13, 5 February 2015

EVENT_INVENTORYLEFT is Game Event.

This event is called when the player move to the left in his inventory ( default key is "[" ). See also EVENT_INVENTORYRIGHT 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

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