F
fxokz
Guest
I have 3 variables that have different real values.. how can I call the variable that has the highest value of the 3?
I initially used max(var 1, var 2, var 3) but that only returns a real value and not the variable it belongs to. Any ideas?
edit: I just used a switch statement to see which variable is the highest etc. sort of a quick fix but works fine for my current game. still open to suggestions if anyone has.
I initially used max(var 1, var 2, var 3) but that only returns a real value and not the variable it belongs to. Any ideas?
edit: I just used a switch statement to see which variable is the highest etc. sort of a quick fix but works fine for my current game. still open to suggestions if anyone has.
Last edited: