Does unreal blueprint have a multiplexer or equivelent?

I am wondering if unreal blueprint has a multiplexer or an equivalent based on Exec flow. What I’m looking for is a component that will take in 2 or more Exec signals as the signal and output a Boolean/float/etc based on which Exec signal triggered the block.

I didn’t see anything similar, but if there is a block I’m missing, or an alternate hack to do this, it would be appreciated.

Ah, i think i was hoping the Execs would be the select lines (each representing a state) and the signal would be a float/int/vector/etc, more similar to an analog mux. Perhaps what i wanted was a switch where the selector was the Execs, and the output was a standard variable.

Well I’ve done a bit of research and it looks like I can approximate the functionality using getters and setters, as an intermediary and relying on the order of execution to make sure my variable is written to before it is read. The solution is shown in below. The mux can also be built with a local variable which is probably a better way to do it.

A wildcard mux that can take in any type is presented in this question, but for my application the strong typing works better:

65159-mux.png

i don’t understand. if you describe the problem you are trying to solve, instead of describing the method you want to use to solve it, it might be easier to come up with a solution.

a simpler solution might exist that doesn’t require a multiplexer at all, because instead of storing information in the flow of execution, you could store that information in numbers.

Ah I’ve found a solution already, but I was pretty clear about the problem I wanted to solve.

“What I’m looking for is a component that will take in 2 or more Exec signals as the signal and output a Boolean/float/etc based on which Exec signal triggered the block.”