I had an advanced simluator program for starcraft II, and I used a lot of math equations to constantly update it, but at the time it was simple f(x)=n/x and I found that I could set/mod a variable to be amount divided with another amount, but how do I extend this if I want to do some further math on it?
- In the end I want to set/mod a variable with n/x+c so the mathmatic function I found wont work, since it only had place for 1 point, now I need to add a constant to it also? Of course I could calculate the variable first, then in another variable set that + the constant, but there must be a way to call multible math argumentations in a single line so I can set variable to "n divided x plus c" in same line-
None.

An artist's depiction of an Extended Unit Death
Under the Math section there is a function called Arithmetic, which would be what you want. There's also Arithmetic Multiple, but I don't really see it being faster or more useful.