eek that is the worst line of code I've ever seen! Who in god's name wrote that? Lee if that was you...*shakes fist*
scale object int((Wrapvalue((Pn-9+x)*36))/36)+10,100+x*25,100+x*25,100+x*25
ugh...first of all...ugh...
SCALE OBJECT object, xvalue,yvalue,zvalue
this will scale an object by percentages... so SCALE OBJECT 1,100,100,100 will leave the object the same size..
as for the INT() command...that converts a value like 3.1415926536 into a whole number(or integer).. 3
WRAPVALUE() will change automatically resize a value no more then 360, and no less then 0
WRAPVALUE(100+300) = 40... i believe... this is good for keeping angles... like in this line of code
anglex# = WRAPVALUE(anglex# + 10)
XROTATE OBJECT 1, anglex#
without WRAPVALUE you would have gotten an error, because all angles must be equal to or greater than 0, and less then 361... WRAPVALUE will adjust the value in a variable so it meets those requirements...
as for the rest of the code...I couldn't tell you without knowing what tutorial it came from...