View Single Post
  #4  
Old 12-05-2001, 06:28 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
if(playerenters) {
this.angle=0; //dont touch me
this.radius=3.2; //change this for radii higer number larger circle
this.speed=0.1; //how fast it moves
timeout=.05;
}
if(timeout) {
x=15+cos(this.angle)*this.radius; //change number for placement of x
y=5+sin(this.angle)*this.radius; //change number for placement of y
this.angle=this.angle+this.speed;
timeout=.05;
}

//Light Bit
if (created) {
setimg light2.png;
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 0,1,0,0.5;
drawaslight;
}


and theres your cirlcing light effects
probally not the best or most efficent way to do them
but.............they work
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote