Thread: Arrays...?
View Single Post
  #4  
Old 10-14-2001, 04:45 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Re: Re: Arrays...?

Quote:
Originally posted by KJS


well a basic array would be like
NPC Code:

if(created){
this.x={1,30,50,25};
this.y={5,20,18,30};
}
if(playertouchsme){
this.rnd=int(random(0,4));
x=this.x[this.rnd];
y=this.y[this.rnd];
}

whats:

if(created){
this.x={1,30,50,25};
this.y={5,20,18,30};
}

for?
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote