Naming outputs for SK BP nodes


#1

Just as Inputs are given names, I think it would make sense to have the ability to name outputs like shown below:

(Integer in) Integer total 
[

]

//And default output support

()Integer total : 10
[

]

Also, this may allow for a way to create SK BP nodes with multiple returns like this:

//One example of how it could be added, with a keyword:

() Integer out1 Integer out2
[
out1 return [/*value here*/]
out2 return [/*value here*/]
]

//Another way, just using assignment operator
() Integer out1 Integer out2
[
out1 := //Value
out2 := //Value
]


#2

Good point. This would be done properly with return parameters though, which Sk already supports, but which are currently not reflected to Blueprints. So it would look like (note the semicolon at the beginning of the parameter list):

(; Integer out1 Integer out2)
[
out1 : /*value here*/
out2 : /*value here*/
]

We have this on our do list and hope to get to it soon.