Inventory key virtual Functions

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Posts: 10
Joined: Thu Jan 12, 2023 3:32 pm

Inventory key virtual Functions

Post by Nihlith »

It would be awesome if Zscript supported virtual functions triggered by pressing the Inventory keys, stuff like

A_JumpIf(GetPlayerInput(INPUT_BUTTONS) & BT_INVUSE, "SomeState")

A_JumpIf(GetPlayerInput(INPUT_BUTTONS) & BT_INVNEXT, "SomeOtherState")

A_JumpIf(GetPlayerInput(INPUT_BUTTONS) & BT_INVPRV, "ADifferentState")

Is that on the radar at this point? Is it possible? Thanks gzdoom development team. You rock.

Return to “Feature Suggestions [GZDoom]”