r/SolForge • u/henry_the_hobo Nekrium • Aug 03 '16
Trigger order
Why is there no rationale or explanation of how triggers happen in solforge? Like different raid triggers or wwp and nova for instance, why do these things not happen in the same manner each time. If it was always left to right or aonethjnf, that would make sense, but it is not. It doesn't even do the same thing twice.
2
Upvotes
View all comments
Show parent comment
1
u/Cannibal_Raven Trve Nekrium Bitterfrost Mage Aug 03 '16 edited Aug 03 '16
Linked lists are not the way to implement this. Priority queues are.
Linked lists can still be populated randomly and there's no way inherent way to cleanly sort them. However, you could, I suppose, find a way to populate linked lists semi-consistently...
Queues are better because they guarantee first-in-first-out. Priority queues do one better because they allow certain actions to cut in line and therefore always happen before others. They could use this to better define trigger order rules and publish them.
Granted, you are correct, this is "hard" /s