How to Set Up Source Engine-Style Inventory Scroll?

I thought I did, but apparently not. Anyway, that did it! My inventory finally scrolls and highlights like I want! It’s a beautiful sight to behold. LOL

I can’t thank you enough for how patient and informative you’ve been. I sincerely appreciate your help.

Edit: Well, one last question. How to do the opposite scroll direction? I’m trying to figure that one out myself, but not having any luck.

Haha, wicked! One hurdle out of the way, more to come.

Well, one last question. How to do the
opposite scroll direction? I’m trying
to figure that one out myself, but not
having any luck.

I’ll have a look at it later. May not be today, though.

How to do the opposite scroll
direction?

The top bit is for mouse scroll up. I tested it very briefly but it seemed to work fine, regardless of slot count. Do tell if it acts up.

Image from Gyazo

It seems to be working perfectly! Thank you so much!

Now I’m working on adding functionality for picking up items in game and updating the HUD accordingly, and it seems that the scroll function isn’t updating when new slots become available. The slot itself updates as desired, but I can’t scroll to the newly-enabled slot. I’ve even got a function that sets the selected slot manually to the new item upon picking it up, and while my print string tells me that the new slot is being selected, the slot doesn’t change to the appropriate color and any scrolling afterwards continues to treat the slot like it’s still disabled and skips over it.

Technically, the whole system only cares about a single variable - the bool isEmpty. When you populate the slot, make sure you update the value. If a slot is occupied, its isEmpty should be set to False.

That’s what I was trying to update, but it looks like I was overthinking the whole thing and ended up with unnecessarily convoluted blueprints. I’ve gone back and done some messing around and got it to work. Thank you!