Functions with variable number of input pins
Is there a way to create a function node that has the "add pin" functionality on it? I want to create a function that concatenates n number of strings, and inside the function is an array that gets looped through. The array has the "add pin" function, is there a way I can expose that, rather than having a set number of inputs and therefore set array size?
asked Apr 20 '15 at 12:43 PM in Blueprint Scripting
The way to do it in Blueprint is to take an array-of-type, rather than the actual type. Then the caller can pass in an array of whatever size he/she wants. This is a work-around, not exactly what you want.
The way to do it "for real" is to write C++. Grepping for "Add pin" in the GitHub source finds a good example:
which uses an API documented in a header file:
The interesting functions are
answered Apr 20 '15 at 04:37 PM
Click on input and look in details panel
Then add inputs
answered Apr 20 '15 at 01:12 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here