View Single Post
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old March 5th, 2012, 04:28 PM
1) If you want it to be present on all heroes you could create it as a mechanic, or if you want to only have it apply to some heroes you can add the script to an adjustment and apply that adjustment to whichever characters.

2) I don't think so, but you could easily convert something to its absolute value by checking if it is below 0, and multiplying by -1 if that is so.

3) I'm still pretty new to the programming, so I am not up on all the lingo. What do you mean by arguments?

If you mean 2 variables, yes. For example if you have val1 and val2 as your variables, maximum(val1, val2) will give you the higher value of the two variables.
Aaron is offline   #4 Reply With Quote