float Function AddThese(float X, Float Y) return X+Yendfunctionfloat Function AddThese(int X, Float Y) return (X as float)+Yendfunctionfloat Function AddThese(float X, int Y) return X+(Y as float)endfunctionint Function AddThese(int X, int Y) return X+Yendfunction
The compiler would then pick the right function based on the types of the variables being passed.
However, Papyrus won't let you make multiple function definitions with the same name, even if they have different parameter lists!
YU no work!?
