Exponentials in Tribes Scripting?

HOLY SHIT
03-17-2007, 03:53 AM
When using a formula like %var = 1 / 1 + 10^((%var2 - var3) / 400);, it returns incorrect values because it's not doing the exponential correctly.

I was under the impression the ^ signified an exponential... since, apparently, it doesn't, what does? I know in PHP there's a function for it "pow()" but I have yet to find anything else...

Amadeus
03-17-2007, 06:29 AM
you could maybe try pow();

Lemon
03-17-2007, 11:11 AM
Tribes Script Operators. Plasmatica, Tribes Maps, scripting, and mods. (http://plasmatic.annihilation.in fo/operators.html)
pow(value, power) should work.

Plasmatic
03-18-2007, 03:33 PM
^ is XOR
http://plasmatic.annihilation.in fo/scriptingdoc.zip
pow(Value, Power)
Value: Integer.
Power: Integer.
USED IN: Currently not used in any script files.
RETURN: Float. If failed then -1.
Will raise the Value to the given Power.