Open
Description
Calling a blueprint function with a return value results in having to syntax it as follows:
newvar = uobject.somefunction()[0]
Even if there is only one return value, a tuple is returned.
I also ran into an issue with input arrays always being return as out parameters, so the previous function would need to be written differently to get the return value:
newvar = uobject.somefunction(['listelement1', 'listelement2'])[1]
Is there some way to disable this at the expense of allowing multiple return values? I'm okay with losing that functionality considering I'm using this plugin to allow users to create mods, and I think the awkward syntax caused by returning tuples will only lead to confusion among modders.
Metadata
Metadata
Assignees
Labels
No labels