
10-14-2001, 04:45 AM
|
|
Lord Helmut
|
 |
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
|
|
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
|
|
|
|