Add Select node
Nestorboy
A Select node could act as the graph equivalent for a ternary operator, returning value a or b, depending on a boolean, without having to have any flow going into it. Currently in order to achieve the same behaviour as a ternary operator, you have to add a new variable to the graph, branch your flow based on a boolean, set the value of the aforementioned variable, then merge the two flows together afterwards and get the variable value.
An even more version of the Select node would be if, given an integer or enum, it could evaluate and return the value of one of its inputs, from an array of inputs. This would act similarly to a switch statement which only returns a value based on the provided integer/enum. A good reference would be the UE Blueprints Select node, as it supports all of these selection types: Bool, Integer and Enum.
Log In
Sotalo
Here's a diagram of UE4's Select node and its features. This is the same request as what I made here: