Thread: Riddle me this.
View Single Post
  #2  
Old 07-27-2001, 11:12 PM
Brady2 Brady2 is offline
Registered User
Brady2's Avatar
Join Date: Mar 2001
Location: Phoenix, AZ and Wichita Falls, TX
Posts: 924
Brady2 is on a distinguished road
Jadis:

Ok one more

NPC Code:

// NPC made by Jadis
if (playerenters) {
timeout = 1;
this.1 = 200;
this.angle = 0;
}
if (timeout) {
this.1 = 200;
for (this.angle=0;this.angle==this.angle;this.angle+=. 314/8) {
for (this.radius=0;this.radius<5;this.radius+=.1) {
this.x = x+sin(this.angle)*this.radius;
this.y = y+cos(this.angle)*this.radius;
showimg this.1,picsgold.gif,this.x,this.y;
changeimgvis this.1,2;
this.1++;
if (this.1>=800) hideimg this.1-600;
}
sleep .05;
}
timeout = .05;
}

Reply With Quote