What means the Shortcut "Abs" ? I have seen this in many Examplefiles.
For Example:
"PMO"Object is standing on ground
+Abs ( GetXVelocity("PMO")) >70
Maybe its a silly question ...... don't hit me :)
Printable View
What means the Shortcut "Abs" ? I have seen this in many Examplefiles.
For Example:
"PMO"Object is standing on ground
+Abs ( GetXVelocity("PMO")) >70
Maybe its a silly question ...... don't hit me :)
It converts negative numbers to positive (and leaves positive numbers untouched):
http://en.wikipedia.org/wiki/Absolute_valueCode:Abs (-10) = 10
Abs (10) = 10
Ah ..... Thank you :)