[Feature Request] Access parameters from anywhere in the function

There is no such functionality. You have to make them local variables. Might be implemented later.

I want to be able to access function parameters from anywhere in the function, without having to assign them to local variables. When the function gets quite long, we end up having to drag these wires from way at the beginning, and it just makes the whole thing look messy. Of course we can set them to local variables, but this should be by default, just to make everything easier and cleaner.

I know there is no such functionality. Did you not notice the feature request tag?

http://puu.sh/sqbcI/b42fa0d576.png

Except the tag was not there when the question was posted. Nice try editing the title and then acting like a [redacted].

Hello & NoobsDeSroobs,

Please be civil when discussing issues on the Answerhub. Thank you for adding the feature request tab so that we know that you’re looking to have this feature added. I’ll look into putting one in.

@NoobsDeSroobs, users do not have the option to delete your comments. Both of your comments were automatically put in moderation due to the expletives used in them.

@Matthewclark, thank you for clarifying that.

@, I owe you an apology. I am sorry for accusing you of deleting my comment.

@Mathew Great, thanks
@NoobsDeScroobs, yeah its fine, no problem!

Hello ,

I apologize for the delay, I’ve been quite busy with bug reports from 4.14 and 4.14.1. I’ve placed the feature request in for this and you can find that report here: UE-39767 You can track its progress there but please keep in mind that feature requests are often low priority so it may not be added soon.

Awesome, thank you!

I appreciate you guys finally adding this in, but may I ask why this does not exist in Macros? In Functions I could get away with creating local versions of all the variables, setting all the parameters to them, then collapsing the whole thing into a node called Initialize, but, since Macros cant have Function-like local variables, I can’t do that either, so I’m forced to deal with the wires all over the place again, without even the old workaround.

Also, what about a way to, in the Entry Node, show that a given parameter has been used as a local, to prevent us from thinking its not in use?

Can you please make a detailed list of each one of the features you want to be added? The reason this wasn’t added to macros is because they are different than functions and it was expressly asked for. It would be best to enter all of your requests at once instead of adding things on one by one.

I figured that was the reason behind it. And do you mean all of my requests in general? Like compiling all of my requests so far into one post, as opposed to having all of them separate, or do you mean just for this post? I do know I ask a lot of feature requests, so I apologize if it is annoying or hard to keep track of.

Either method is fine. If you have features that you would like to have added related to variables in functions or macros, you can feel free to leave them here. Generally it’s best to make a new post because having to come back to the post and get acquainted with it again can cause confusion.