I’m looking for a type of node that basically does the opposite of Branch–basically it has two execution inputs, one execution output, two wildcard inputs, and one wildcard output of the same type. When it is executed through exec input A, it returns the value given in wildcard input A, and same with B. Perhaps you could also add more inputs if you want. If the wildcard inputs are true and false, it would basically be an exact opposite of the Branch node.
Does such a node exist? I looked in Utility>Flow Control and couldn’t find anything that looks like what I want.
EDIT: Basically I’m looking for something that would serve the purpose of this macro, only that will work for any type without having to create multiple macros. I know macros can have wildcard inputs/outputs, but that wouldn’t work in this case because (to my knowledge) local variables can’t be wildcards. Plus I’d rather not use a macro if there’s a built-in function that serves the same purpose.
You can reset it with the reset exec after you do whatever logic you need to do against the output. The DoOnce just stops any further execution output until your done with working with the result. Perhaps I am completly missing what you want. If it is a True/False you are looking for, that can only have 2 inputs. And to do that you just crate a bol variable and set that to the output instead of some refernce like I have and lose the event inputs.
Edit:
Something like this could work as well. but it’s little in the way of flow control or multi-input.
Here is your solution. It took me a little bit of time to figure it out, but then I saw a video with someone using a selector and it all clicked. In order to get the checkboxes in the “Assign” nodes, drag a line from the Local Bool and then type “assign” in the context sensitive space.
You could also do a similar thing with more inputs and use a selector by int.