RCW3993
(rcw)
#1
The title is pretty self explanatory. I’ve tried using pairs, ipairs, and next loops but those only work in order on arrays.
Basically, I’m looping through a module that has all the axes in the game. It then displays this axes on a ui list.
It displays them in a random order, but I want them in the order I wrote the dictionary in (sorted by price).
If anyone knows how to do this I’d appreciate it!
Since dictionaries are not ordered, you may need to take an approach like what was mentioned in the following post:
Original structure
Recommended revision
3 Likes
system
(system)
Closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.