View Full Version : I love my baby back ribs

08-03-2001, 02:39 PM

Well LiquidIce just posted some script for a random
nonblocking tile level which reminded me of a script I
made to "get familiar" with the board[] command and
all the other good stuff. Enjoy.

//NPC made by Jadis
if (playerenters) {
for (this.x=0;this.x<64;this.x+=1) {
for (this.y=0;this.y<64;this.y+=1) {
this.1 = int(random(0,17));
if (this.1==0||this.1==8) {this.bx=0;this.by=0;}
if (this.1==1||this.1==9) {this.bx=1;this.by=0;}
if (this.1==2) {this.bx=0;this.by=1;}
if (this.1==3||this.1==11) {this.bx=7;this.by=42;}
if (this.1==4||this.1==12) {this.bx=7;this.by=43;}
if (this.1==5||this.1==13||this.1==10) {this.bx=8;this.by=42;}
if (this.1==6||this.1==14) {this.bx=8;this.by=43;}
if (this.1==7||this.1==15||this.1==16) {this.bx=15;this.by=31;}
updateboard this.x,this.y,1,1;
sleep .05;
function init() {
this.1 = 0;
this.x = 0;
this.y = 0;
this.bx = 0;
this.by = 0;

08-03-2001, 03:03 PM
hi guy
i might actually get serious and do like random rocking and bushing and stuff and grass and all that junk. that would be cool to see.
i liek ur script tho it looks alot better then mine but mine is l33ter cuz i use all diff. tiles but Its ugly =)

and gimme some of ur baby back ribs cuz im hungry =(