View Single Post
  #8  
Old 07-01-2002, 03:29 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by Xbob42
well here's my first try using arrays.

// NPC made by Criminal (Skyre Draneth)
// experimenting with arrays
if(playerenters){
toweapons Kamehameha_Array_Test;
}
if(weaponfired){
this.end=10;
setarray this.start,this.end;
setani shoot,;
freezeplayer .8;
for(this.start=4; this.start<this.end; this.start++{
if(playerdir=3){
putexplosion2 1,1,playerx+this.start,playery+.5;
sleep.1;
}
if(playerdir=1){
putexplosion2 1,1,playerx-this.start,playery+.5;
sleep.1;
}
if(playerdir=0){
putexplosion2 1,1,playerx,playery-this.start;
sleep.1;
}
if(playerdir=2){
putexplosion2 1,1,playerx,playery+this.start;
sleep.1;
}
}
}


sorry but there are no arrays in that script.......
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote