Okay, thanks. I'm using some container objects to hold the values I need, seems to work fine for now.
Here's the situation:
I have this big movement function that I decided to break up into several to make it all a bit less unwieldy. The main function have a few local variables that are used to calculate how much this object will push other objects around. At the end of the main function, the push variables get passed along to other objects to modify their movement rates. Since I decided to break the main function up however, I need to pass those locals into separate functions where they get modified, and then pass the updated values back to the main function. Dunno how clear that is, I'm not good at explaining this kinda stuff