Is it possible for Sk blueprint-callable method to return multiple variables?


#1

Neither returning variables using return arguments mechanism, nor returning of blueprint struct is supported on &blueprint marked Sk methods. Are there other ways of implementing this?


#2

If it won’t break your logic, you could call a custom BP event at the end of the :sk method and pass it your struct or other vars. If you need to maintain your call structure then you could set some temp BP data member via :sk: at the end of the method.

I filed a bug for this, multiple return variables should be feasible in the case of methods but would perhaps make less sense and even be confusing to the user for a coroutine.