###

» Sat Jan 21, 2012 4:31 am

By the way, talking of using function to do something they weren't meant to, you can do a :

[code]cos(angle(0,0,number,0))[/code]to get the sign of number.

Basically if the number is positive, the angle is 0 and if it's negative the angle is 180.

cos(0) = 1

cos(-180) = -1

you will have the equivalent of the sign() function in Construct ClassicYann2012-01-21 04:32:27