Expose Functions with customizable number of inputs ( + Sign )

How can I expose a function to blueprints that works similar to the math nodes, in the sense that you can click a (+) button on them and increase the number of inputs; u could use a math node to add 2 integers together; or to add 5 in a singe node.
This is an example to convey the functionality am looking for.

TLDR: I want to be able to expose a functions to Blueprints that has that (+) sign so that you can add more inputs to it.

How can one expose a function like this to blueprints?

Did you look at the CommutativeAssociativeBinaryOperator = “true” specifier for UFUNCTION? It apparently will call your function multiple times and put all the pins on the same node with the AddPin button.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.