Hello, I have started to develop my own Blueprint Function library in C++ and I was wondering how should I setup a custom ForLoop node to have the same output nodes than the default one (attached pic). I was also wondering what is the process to call the exec pins like “LoopBody” inside my for loop.
I couldn’t find either the ForLoop node in the engine source. I guess because it is really a macro.
If there is some tutorial about this specific tasks I would appreciate a link.
The for loop node is actually a blueprint macro, not C++. If you double click it you will see the source BP. The sequence node is not a UFUNCTION, I think, it’s probably an K2_Node directly, like the IF node.
Yes, I noticed that about the ForLoop and how expensive it is in BP. I don’t understand why there’s not a native function implementation so I tried to do on my own, but I can’t find a guide on how to create all the needed pins.