Thread: Moving lights
View Single Post
  #2  
Old 11-29-2001, 04:06 PM
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
Here is one...

kinda cheap:
NPC Code:

if (created) {
setimg light2.png;
dontblock;
}
if (playerenters) {
setcoloreffect 1,1,1,0.99;
drawaslight;
this.i=1;
this.goingup=1;
timeout=.05;
}
if (timeout) {
if (this.i<99&&this.goingup==1) this.i++;
if (this.i>1&&this.goingup==0) this.i--;
if (this.i==98) this.goingup=0;
if (this.i==1) this.goingup=1;
setcoloreffect 1,1,0,this.i%99/100;
setzoomeffect this.i%2;
timeout=.05;
}

__________________

!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