Add a slider to Exclusive Gates to allow multiple to be open simultaneously.
The main operation of this potential feature would be in combination with the 'Priority' input. For example, you could have 10 Ex Gates in a Scene with different numbers being input into their priority. Normally only 1 gate is open, with the greatest input number.
With a new multi-gate feature, you could increase the slider to 5, so now 5 out of 10 gates are open. By default the slider should be set to 1. You could also potentially decrease it to 0 to close all gates. Maybe a value of -1 could correspond to all Gates of the same name being open as well?
Changing the 'Simultaneous' slider on one Gate will be reproduced on all other sliders on Gates of the same name. It could be controlled with either an input wire, or manually in edit mode. I guess there's a minor logic design issue, if multiple Gates have wires input to their 'Simultaneous' slider during Scene runtime. I think the best solution is for the slider that had the most recent change to take priority over others.
There would have to be considerations for how a multi-gate feature would work in conjunction with the other Exclusive Gate features, which I won't discuss here (mainly because I don't use them; 99% of my Exclusive Gate usage is via the priority input, so I don't have a lot of experience with the other features).
-
Yes! I've been wanting this feature for a while too. "Select the closest 5 objects" or whatever, things like that.
I think the problem will be the fact that we can't have central settings. Which is frustrating, as it seems that limits a lot of the features and over-complicates the logic of how ex-gates work internally in a number of ways. If it was a variable/var-mod setup it would be way easier to have these things added.
Maybe instead of changing other ex-gates (which could be confusing, for sure) or the latest changed one updating all the others (which could give hard-to-debug timing issues)... you could have something like the open gate will allow X other gates to be open at once. Normally you'd set them all to the same number of allowed gates, on all the ex-gates, and it would be obvious how it works. If you have different numbers, it'll use the minimum "simultaneous" setting from all of the open gates.
Effectively: if the open gates allow for more than are open, open another one. Repeat.
-
If you have different numbers, it'll use the minimum "simultaneous" setting from all of the open gates.
You would still need a rule for how to resolve a situation where for example, nine gates are already open simultaneously and they all agree that a tenth gate can also open, but the next gate to receive a non-negative input only allows five simultaneous gates to open. Two possible rules for this:
- A gate cannot open if its simultaneous setting would force other open gates to close.
- The gate can open, but the number of allowed simultaneously open gates cannot be reduced below the current number of simultaneously open gates.
-
Good options. Sounds reasonable... Let's hope Mm can add something like this someday.
-
I'd still much prefer a central location where the number of open Gates can be controlled, rather than on a per-Gate basis. If you're dynamically controlling the number that are open during runtime, then ideally this could be done with a single wire. If the number had to be controlled on 10 Gates individually, then you'd need 10 wires, which feels like a waste of wire thermo.
Even if it requires a toggle on each Gate, to allow the settings of other Gates to affect them, then this is still a better solution than a wire to every one, albeit making the system slightly more convoluted.
Войдите в службу, чтобы оставить комментарий.