Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   arg (https://forums.graalonline.com/forums/showthread.php?t=10779)

KJS 08-30-2001 09:02 AM

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;
}


wetferret1 08-30-2001 12:24 PM

I want one!

oscarjf1 08-30-2001 07:36 PM

....
 
sounds like a script for a whole lot of nothing....wow, you=make l33t messages....

You added more coding to that than it was worth.
...shoulda just used good old fashioned sleep vars or something.:rolleyes:

KJS 08-30-2001 10:58 PM

yea I could have used a timeout but this does the same thing oh well...

CyanideSR71 08-31-2001 10:17 AM

Re: Re: ....
 
Quote:

Originally posted by Kaimetsu
Um... He DID use sleep commands.

Not that I condone such things. Timeouts are infinitely superior.

Yes, I haven't seen a script yet that would actually require that command as well...

KJS 08-31-2001 10:21 AM

I have made a script that required sleep (well not really but it would have been really really hectic if I didn't use it...)

RaVeN_629 08-31-2001 01:51 PM

KJL whenever i need a script i gunna ask u XD

wetferret1 08-31-2001 02:21 PM

NO! HE IS MY SCRIPTING SLAVE!! j/k I am his *****

toad1413 08-31-2001 03:42 PM

Quote:

Originally posted by RaVeN_629
KJL whenever i need a script i gunna ask u XD
Quote:

Originally posted by wetferret1
NO! HE IS MY SCRIPTING SLAVE!! j/k I am his *****
You people make me sick. :(

KJS 08-31-2001 03:49 PM

Quote:

Originally posted by toad1413




You people make me sick. :(


slp 08-31-2001 04:32 PM

Quote:

Originally posted by KJS

Enigma_GP6 09-03-2001 10:44 AM

I...Give...UP...Ya'll guys are impossible....

-Rebel95


All times are GMT +2. The time now is 02:00 PM.

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