So I have a setup here:
Everytime a player picks up a weapon, it adds a child widget to a box on player hud. However, It changes based on most recent weapon picked up. I’d like to make a function or something along that line that reorders their display on the hud based on the switch list in the first issue (e.g I want it to go glock->shotgun->ump not gunipickedupfirst->gunipickedupsecond-gunpickedupthird)
How would I go about re-sorting them? I was thinking of having it resort in the second picture but am unsure of how the logic would work.
Any advice??