I’m trying to make a blueprint macro that combines multiple branches into an “if, else if, else if, … else” format. Easy enough, but I was hoping to make its length dynamic in much the same way sequence or switch nodes work.
The end goal is to make a single macro with as long a chain of branches as desired, starting with 2, and being expanded with the “Add Pin (+)” button. I couldn’t find a solution within the blueprint editor so, with any luck there’s a C++ method.
If this is impossible to make with the current tools hopefully the UE devs could implement something like this in the future.
Example: