I have been constructing a command menu UI for my project and I have hit a snag. I need to have it so that instead of using the cursor, the player can simply scroll through the three buttons on the command menu via the mouse wheel.
I have seen another post about this topic but it was specifically for list views, and the first part of the menu at least for now is not a list view, so I was unsure if that information would apply to me or not here.
A scrollbox widget will already scrub through its content out of the box. A list view is just a very fancy scrollbox.
When you say scroll, do you actually mean scroll-scroll or simply shift focus to another menu element? As in, highlight buttons by scrolling with mouse wheel.
Highlighting the buttons with the scroll as though I had the cursor hovering over them, and pressing my interact button to select that next menu. I’m trying to recreate the functionality of the FF7 remake combat menus.
• make each button a user widget, add animations / effects
• in the widget that hosts them override mouse wheel, have it cycle through the array of user widget buttons, trigger their animations