Select node to c++

How i write Blueprint Select Node To C++ Code

just use a switch() statement with each case setting the desired values.

What Select node does ( when the type of index is an integer including Byte) is basically use an index to get an element in a series of values ( of the same type).

You can do that with an array, an Unreal TArray more specifically.

TArray<int> Array = { 1, 2, 3, 4 }; // Array[0] is 1, Array[1] is 2...

The type of the index parameter of Select can also be Boolean. In this case, just use an if.

When the type is an Enum, use switch to handle the cases.