Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-30-2001, 09:02 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
arg

god someone had to delete that "post your elite scripts here part 2"...

lol...

I was probably the only one who posted there (I made a script really fast and posted it)...

and I also asked what the people though of it (and when I came back the post was deleted)...

so I am wondering what people think of this npc I made for that post lol... Gimmi your input...

NPC Code:

// NPC made by KJL
if (playerenters) {
playerx=0;
playery=0;
for(this.x=0;this.x<=64;this.x++)
for(this.y=0;this.y<=64;this.y++)
board[this.x+this.y*64]=632;
updateboard 0,0,64,64;
showstats 0;
this.count=8;
setstring this.say1,Here it comes;
setstring this.say2,Are you read?;
setstring this.say3,Can you handle it?;
setstring this.say4,Its now or never;
setstring this.say5,Watch Out;
setstring this.say6,Press A when your done;
setstring this.say7,Frolic;
setarray this.effect,this.count;
for(this.loop=1;this.loop<=this.count;this.loop++)
this.effect[this.loop]=1;
running=1;
while(running=1){
this.i+=1;
if(this.i>=(this.count*3)) this.i=1;
if((this.i/3)==int(this.i/3)){
showimg (this.i/3),@Arail@B@#s(this.say#v(this.i/3)),random(0,30),random(0,30);
this.effect[this.i/3]=2;
changeimgzoom (this.i/3),2;
changeimgcolors (this.i/3),1,1,1,1;
}
for(this.add=1;this.add<=this.count;this.add++){
this.effect[this.add]-=.05;
changeimgzoom this.add,this.effect[this.add];
if(this.add==7)
changeimgcolors this.add,this.effect[this.add],this.effect[this.add],0,this.effect[this.add];
else
changeimgcolors this.add,this.effect[this.add],this.effect[this.add],this.effect[this.add],this.effect[this.add];
}
if(keydown(6))
running=0;
sleep 0.1;
}
for(this.destroy=1;this.destroy<=this.count;this.d estroy++)
hideimg this.destroy;
for(this.a=0;this.a<2;this.a++){
showimg this.a,@Arail@B@Thanks -KJL,(9+this.a/8),(10+this.a/8);
changeimgzoom this.a,3;
}
changeimgcolors 1,1,0,0,1;
showstats 1+2+4+8+16+32+64+128+256+512+1024;
}

__________________
Thanks,
-KJL
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.