When using a decider combinator, if I add a condition for "Each" signal, the OR logic is no longer followed. Even though the first condition is True, it stops outputting the signal.
Decider combinator OR logic incorrect in presence of "Each"
Re: [BUG] Decider combinator OR logic incorrect in presence of "Each"
Duplicate of 119467
Not a bug. Selecting "Each" anywhere in the conditions or output switches the combinator to vector mode. A separate instance of the whole combinator is run on every nonzero input signal. If no inputs are nonzero, then no combinator instances are executed at all.
Not a bug. Selecting "Each" anywhere in the conditions or output switches the combinator to vector mode. A separate instance of the whole combinator is run on every nonzero input signal. If no inputs are nonzero, then no combinator instances are executed at all.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Re: [BUG] Decider combinator OR logic incorrect in presence of "Each"
Basically you shouldn’t try to combine each with other types like everything and anything. They should be in their own combinators and then the resulting signal can be passed to a second combinator instead where you can use anything or everything.
Keep in mind that using each ONLY as an input works differently than when it is both an input and the output.
Keep in mind that using each ONLY as an input works differently than when it is both an input and the output.
Re: [BUG] Decider combinator OR logic incorrect in presence of "Each"
You can do some pretty powerful things now with vectorized multi-conditional statements. You just have to know that's what you're doing. The current in-game text does not explain this properly.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk