EVENT INVENTORYRIGHT: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by 4 users not shown)
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]].
{{EventTable|1=EVENT_INVENTORYRIGHT|2=player that executed the input|3=[[i|player->i]]|4=1 value}}
EVENT_INVENTORYRIGHT is a [[EDuke32_event_list|Game Event]].
 
This [[event]] is called when the player moves the inventory cursor to the right ( default key is "]" ).
 
Gamevar [[RETURN]] holds the value of the item being selected. Setting it to 0 or less will cause no change.
 
:'''1''' - Portable Medkit
:'''2''' - Steroids
:'''3''' - Holoduke
:'''4''' - Jetpack
:'''5''' - Nightvision Googles
:'''6''' - Scuba Gear
:'''7''' - Boot
 
Setting gamevar [[RETURN]] to one of the above values will force that item to be selected.
 
See also [[EVENT_INVENTORYLEFT]] and [[EVENT_INVENTORY]].
 
[[Category:Events]]

Latest revision as of 14:50, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_INVENTORYRIGHT player that executed the input player->i 1 value

EVENT_INVENTORYRIGHT is a Game Event.

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

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

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

Setting gamevar RETURN to one of the above values will force that item to be selected.

See also EVENT_INVENTORYLEFT and EVENT_INVENTORY.