NokiMo
Megan Fox
Megan Fox

patreon


Don't be afraid of macros

For ages, I avoided using Blueprint macros. Theoretically they can shatter in some obscure cases but, seriously, you should use them more often. They can save you a ton of time. Like this thing! It's just a little for-each loop. Simple, but, executing this without a macro means cluttering up your code with an entire local variable that does nothing but sit there and count. Who needs that?! Nobody. That's who.

So here, have a macro! It is very simple, but whatever, enjoy! May it save you 30 seconds. I even made the wires look nice.

For giggles, here's the trans flag code if you're supremely lazy: https://pastebin.com/EhhAHZ5n 

And here's the code for this thing: https://pastebin.com/zyy21UCL 

(you can just copy-paste it into a Macro and it should basically just pop up)


Related Creators