アンリアる! C++入門編 ~対話形式で学ぶUnreal Engine~
BOOTHでUnreal Engine C++入門書を販売していますUnreal Engine上でC++を使って開発するために必要となる基礎知識を一冊の本にまとめた本です。 対話形式によるわかりやすい説明を目指しました。無料の試し読みも可能ですので、ぜひ読んでみてください!
Released Unrael Engine Plugin “Advanced Control Flow”

We recently released the Unreal Engine plugin "Advanced Control Flow"!
The goal of "Advanced Control Flow" is to enable complex control statements in blueprints with a single blueprint node.

Marketplace: Advanced Control Flow

Free version is available on GitHub (But it requires the build process in C++).
If you like it, please consider purchasing it on Marketplace.

GitHub: colory-games/UEPlugin-AdvancedControlFlow

Now this article will introduce the two types of blueprint nodes provided by the plugin.

MultiBranch: Multiple conditional branches in one node!

If you want to write multiple conditional branches (if-elseif-else statements in C++) using Branch nodes, you will generally need to use multiple Branches to achieve this. (Left side of the above figure)
If it is only 2 or 3 conditional branches, it is not a problem.

Let’s consider 10 conditional branches.
It is obvious that 10 Branches will make it difficult to understand the original logic.

However, by using the MultiBranch node, it can be realized by simply placing one node. (right in the above figure)
It is nice to have only one node to place so that we can concentrate on the original logic.

You can add/delete pins for conditional branches from Add Pin or from the menu when right-clicking a node.
The ability to freely change the number of pins is another advantage of using the MultiBranch node.

Conditional Sequence: execute all processes matching the condition.

As you know, a Sequence node executes all the processes connected to the output execution pins.

Let’s consider the case where we want to execute only those processes that match the conditions among the processes connected to the execution pins on the output side of the Sequence node.
Normally, we would add a Branch node behind the execution pin. (left in the above figure)

Conditional Sequence node makes it easy to execute all the processes that match the condition. (right in the above figure)
The Branch node no longer needs to be placed behind the output execution pin.
This makes it easier to focus on the original logic.

Summary

In this article, we have introduced two types of blueprint nodes provided by "Advanced Control Flow".
If you find it difficult to understand the operation from this article, please check out the video uploaded on YouTube.