Since different people might theoretically use the system, different people will specify priorities for forced orders without knowing which priority values have already been taken... so I probably can't rely on a single data structure to make sense of priorities.
If you mean the implementation...
Alright, that takes care of my exam.
To be exact, I'm making a system allowing one to enforce orders. Any forced order then has priority over regular orders.
However, to determine which forced order should be active, each forced order has a priority set at the time of enforcing. The currently...
Yeah, it's more of a structural question (or whichever category it falls under), but I figured JASS guys might have some experience from similar issues.
Never mind, though, I think I'll just throw it out there and see what happens. Most likely nobody will ever use my libraries anyway :p
Yeah, hi, and I don't even know if the title of this thread makes any sense of how to properly describe the issue... Anyway, here goes:
I have built a system enabling the issuing of forced orders which have priority over regular orders and are internally prioritized based on user-defined...
I'm an idiot. I have a WiP map lying around which I really want to continue, but both the files I can found are playable yet not willing to open in WE (open->crash). Apparently I did some protection thingy to them so that I could share the early versions without having to worry about people...
Thanks again. I think I got the non-LUA UnitIndexer to work, but is using this over the LUA one a problem?
(The LUA variant required some other LUA stuff which failed installation)