I’m learning how to create my own blueprint nodes through C++, and I know how to create a node that has multiple exec pins.
However I would like to make a node with a variable number of exec pins. Some defeult nodes have this feature (for exemple, the ‘sequence’ node) and you can hit the ‘add pin’ button and add as many exec pins as you’d like.
That works, but it’s not what I’m asking. I know how to make a custom node with multiple exec pins.
What I want is to create a node that has the “add pin” button, which allows you to add as many exec pins you want to while in the blueprints. Like the “sequence” node:
The only thing I found talking about the “Add pin” is the CommutativeAssociativeBinaryOperator in this page of the documentation, I’m following the thread because now I’m curious
It’s going to be through a custom slate widget for your node. The UK2Node_ExecutionSequence uses SGraphNodeK2Sequence.
A lot of the Unreal node connect the K2Node and the SGraphNode through a weird factory, but you can override CreateVisualWidget on any EdGraphNode to return a slate object that does extra bits (everything beyond the normal header & input/output pins).