If I understand you mean something like:
functionX(varParam = functionZ(X, Y, Z));
functionZ(X, Y, Z) {
if(X != null){
return X;
}
if(Y != null){
return Y;
}
}
If you mean this, I dont know how to do that in C2 but interesting question. I try to find a worktrough.
Got it tutorial is upcomming ;)
EDIT:
Function On "Test"
-- Chrome Log function.Param(0)
Funtion On "Test2"
--IF varWantedParam = 1 //any Condition you wish
--- Set return value to varParam1 //The parameter you want typically a variable
--IF varWantedParam = 2 //any Condition you wish
--- Set return value to varParam2 //The parameter you want typically a variable
Call "Test"(Function.Call("Test2"))
If you want to get the Parameter from Test2, just change one line:
--- Set return value to varParam1 to --- Set return value to function.param(0)