There is a post with same request but it closed and i want to see this feature too.
This is the answer sent by a staff
Thank you for your feedback. I have a few questions to clarify how this would work. When you click an Add Pin on your macro, how would the type of pin be specified? How would it know where to connect the pin within the macro? What additional functionality would this give you over going into the macro and adding a new input in the details manually?
i want answer Alexander’s question:
we need one more checkbox like “Pass-by-reference”. Like “Duplicateable”(Look at picture).
If we mark this checkbox there is another option needed like “Max duplicate number” in integer of course. lets say we wrote max 5 duplicates. and in input node there is 5 input showed. like “input-1”,“input-2”… If we say max 5 but user duplicated just 2 then other inputs should be “not valid” or “null”. because of we must check it in macro (if is valid or not)
also it adds more functionality to reusing macros again and again
Thanks for reading. Im fully open to criticism. i want to hear your thoughts too
To clarify: was pass by-ref an option at any point in time? I was under the impression that pass by-ref was for actors / components / object only in macros. Since it’s the default behaviour for their types anyway.
For a sec I thought you were suggesting that it should be present.
i mean in this node you can add unlimited pins. because of its written in c++ and it doesnt matter how much you added. its know what exactly do with extra pins. but if you get this feature in macros: how engine know where to connect this extra nodes(like staffs said)? But if you get “max duplicate” in variable setting. you can limit this add pin. and array doesnt solve all problems. like this one
i just need min, max and color. but i need duplicate them. Thats okey but what if i want use 2 of them and 6 of them in different places on code? i must use this bools for every of them. and it takes too much space on eventh graph even if i dont use more than one. like this