View Single Post
  #14  
Old 02-02-2002, 09:43 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Are you talking about this:
NPC Code:

for(i = 0; i<25; i++ {
this.mv+=.25;
this.x = 32+cos(this.mv)*5;
this.y = 32+sin(this.mv)*5;
showimg i,door.png,this.x,this.y;
}


?
cos and sin are reverse of eachother, so that means when cos is going up sin is going down on the same number.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote