I’m trying to use a int* as a parameter for my u function so that my return type can remain a bool but the function will modify the value of a passed int.
What this will do is make Result both an Input and an Output.
But if you only want to make int32 an output (and not an input), just remove the “UPARAM(Ref)” and that will make the Blueprint not have int32 as input (just output)
Just to add some more insight on this. Unreal will not let you pass int as a pointer to Blueprints.
non-const references (&) are treated by Unreal as output for Blueprint nodes.