EVENT INVENTORYLEFT: Difference between revisions
Jump to navigation
Jump to search
m copyed |
Doom64hunter (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{EventTable|1=EVENT_INVENTORYLEFT|2=player that executed the input|3=[[i|player->i]]|4=1 value}} | |||
EVENT_INVENTORYLEFT is [[EDuke32_event_list|Game Event]]. | EVENT_INVENTORYLEFT is [[EDuke32_event_list|Game Event]]. | ||
This [[event]] is called when the player | 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. | Gamevar [[RETURN]] holds the value of the item being selected. Setting it to 0 or less will cause no change. | ||
:'''1''' - Portable Medkit | :'''1''' - Portable Medkit | ||
:'''2''' - Steroids | :'''2''' - Steroids | ||
Line 14: | Line 14: | ||
:'''7''' - Boot | :'''7''' - Boot | ||
Setting the gamevar [[RETURN]] to one of the above values will force the chosen item to be selected. | |||
See also [[EVENT_INVENTORYRIGHT]] and [[EVENT_INVENTORY]]. | |||
[[Category:Events]] | [[Category:Events]] |
Latest revision as of 14:51, 4 February 2022
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.
- 1 - Portable Medkit
- 2 - Steroids
- 3 - Holoduke
- 4 - Jetpack
- 5 - Nightvision Googles
- 6 - Scuba Gear
- 7 - Boot
Setting the gamevar RETURN to one of the above values will force the chosen item to be selected.
See also EVENT_INVENTORYRIGHT and EVENT_INVENTORY.