in the documentation of LuaFunction::EndCall it says
bool EndCall (int numReturns=0)
End call and actually execute the function. The return values, if any, are still left in the stack when this call returns.
But I don’t really see any way to retrieve these values from the stack. Neither with LuaFunction nor LuaScriptInstance.
Was this just never implemented? I could get a return value by writing into a passed parameter, but I’m wondering if the proper way is possible as well.