I’m making a 2012-2015 themed zombie game with a sword shop, I have everything working just don’t understand how to make it sorted by price
1 Like
Add a UIListLayout object into the scrolling frame;
Set the LayoutOrder property of each of the shop items to their price.
Set the UIListLayout to sort by layout order
2 Likes
This wouldn’t work since its gonna go by name (on default)
No it doesn’t…?
(Image is of a UIListLayout that was just created, unmodified)
1 Like
How would I change the LayoutOrder property, there’s no option for me to change that from what I see
Add an IntValue inside the gui that can serve as the price. Then when sorting, go from least to greatest.
You would change the layout order of the frames that hold the individual shop items, not in the properties of the layout order:
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.