Thread: Script?
View Single Post
  #13  
Old 03-24-2002, 02:59 AM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
Quote:
Originally posted by thrashsoul
But what if you want it to go really fast
this.a=(this.a+.1)%6.2;

This ".1 " is the speed..


Quote:
here and next time post in scripting
if (playerenters) timeout=.05;
if (timeout) {
this.angle=(this.angle+.1)%6.28;
showimg 0.aball.gif,x+6*sin(this.angle),y+6*cos(this.angle );
timeout=.05;
}

timeout=.05;
if (timeout) {
this.angle=(this.angle+.1)%6.28;
showimg 0,aball.gif,x+6*sin(this.angle),y+6*cos(this.angle ); }
Reply With Quote