"Make array" blueprint, how's it implemented in C++?

I have a TMap thingamabob that I would like to implement a convenient function to set its values for, and add to an array. I’m looking to how blueprint editor does “Make array” for inspiration, but I’m not managing to find it at a glance.

I was just curious what it uses, as its method of letting you “add pins” seems very nice.

https://answers.unrealengine.com/questions/214657/functions-with-variable-number-of-input-pins

I’d take a look at this. JWatte sort of explains how to find what’s going on. Look in the files he mentions for the functions he mentions and that should give you an idea.

I’m pretty sure he’s asking how you create a new Blueprint node which works like the “Make Array” node. (Like, has an “add pin” button which adds new input pins to the node.) Not how to just make arrays within C++.

Ohhhh that would make more sense. How the make a node that just acts the same way with the add pins. ok lol

Yes, what Teiwaz was thinking is more what I wanted to do. Thanks for the replies all the same though. :slight_smile: