Okay...I'm NOT understanding...
Even if I pick the UID within the Function, I'm still left with how to set the value of the parameter back to variable originally sourced as the parameter.
Here's where I'm getting lost on how to set this up...
Object Ship has 8 instance variables - an EXP and a LVL each for Speed, Rate, Calibre, and Spread.
Whenever a power-up is collected, I want to run the "WeaponLeveling" Function which will check for the value of the EXP and LVL variables.
So I'll have something like this...
On Collision with PowerupSpeed... Call Function "WeaponLeveling" (SpeedEXP, SpeedLVL)
On Collision with PowerupRate... Call Function "WeaponLeveling" (RateEXP, RateLVL)
On Collision with PowerupCalibre... Call Function "WeaponLeveling" (CalibreEXP, CalibreLVL)
On Collision with PowerupSpread... Call Function "WeaponLeveling" (SpreadEXP, SpreadLVL)
My problem here is how to reference the respective original variables (as defined by the instance variables plugged into each Function call). Even if I use Ship.UID with the Function, I'm left confused on how to single out and plug in the right values back to the right variables without creating more sub-events/actions within the Function which is the entire point of creating the Function in the first place (to be able to reuse the same events with a single call and just swapping out variable references).
If I can only use the one action - ReturnValue - then I'm left with what seems no recourse but to make specific references to each of the 8 variables in question...which, again, is what the parameters are for, so I thought. I'm ultimately lost on the syntax...where do I PLACE this information? In the Function event, itself? In the Function call event line?
I really just need someone to spell it out for me because I'm not seeing it...
Thanks again for the help.