
01-03-2002, 04:30 PM
|
|
Registered User
|
 |
Join Date: Mar 2001
Posts: 825
|
|
|
~AlphaFlame~
*ker-try*
if (playerenters || created){timeout=.05;timereverywhere;}
if (timeout){
this.dircng+=random(.01,.3);
if (this.dircng>1){
this.dircng-=1;
this.dir=int(random(0,5));
}
if (!onwall(x+vecx(this.dir),y+vecy(this.dir))){
x+=vecx(this.dir);
y+=vecy(this.dir);
} else {
this.dircng=1;
}
timeout=.5;
}
Another 4:30 a.m. script, brought to you by... *snoooore* |
__________________
If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
|
|
|
|