Page 1 of 1

Absolute Value?

PostPosted: Thu Dec 09, 2010 1:56 am
by tlah
Quick question: not of high importance, but is it possible to calculate an absolute value of a variable or equation? I got an error when putting the absolute value lines | | around a set of parentheses, containing a formula. Any thoughts?
-Tlah

Re: Absolute Value?

PostPosted: Thu Dec 09, 2010 2:04 am
by skydereign
Use abs(). You can always check this to see if there is a function.
http://game-editor.com/docs/script_reference.htm

Re: Absolute Value?

PostPosted: Sun Dec 12, 2010 1:39 pm
by tlah
Once again, you have come to my rescue! lol :lol:
I'd offer to help you with something, but I'm afraid that you know way more than I do...
Thanks again! :D