Thread: Riddle me this.
View Single Post
  #1  
Old 07-27-2001, 10:56 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
Riddle me this.

Jadis:

Hey hey hey,

I made a script that isn't too complicated. I just love the radar sweep

NPC Code:

// NPC made by Jadis
if (playerenters) timeout = .1;
if (timeout) {
this.1 = 200;
for (this.angle=0;this.angle<6.28;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;
this.1++;
}
sleep .05;
}
}



You could also take out the sleep .05; line and change the image to whatever color you want and make a bad-looking version of a lighting effect
Attached Images
 
Reply With Quote