multiple output function both for BP and other C++ functions ?

Thank you very much Joe, I think I got it.

My misunderstanding was probably that I thought that I should always use the IntOutputTest function with (&) - which caused compiling error when used in nested functions.
using your last code exemple it would have been :



void ASomeActorClass::someOtherFunction (){
   int32 StorageA = 0;
   int32 StorageB = 0;
   IntOutputTest(24, &StorageA, &StorageB);  // **** ERROR *****
   UE_LOG(MyLog, Log, TEXT("Should be [24 ] = %i, %i"), StorageA, StorageB);
}


Why this is an error , I still do not fully understand…

Anyway it works now and I learnt a lot if not all :slight_smile:

thanks again !