Thanks guys.
I ended up just using the globals as: min(G1, G2, G3, G4, G5). This worked fine.
Never used the dictionary before, so that was confusing.
I did try with an array, but wasn't successful. I have the globals being saved in the array, yet I couldn't find the correct way to get the action to return the min value.
I tried min(array.CurX), but that didnt work.
Any thoughts?