boat/carscript

// NPC made by aylad
if (playerchats&&strequals(#c,Buy Small Boat)) {
toweapons Small Boat;

}
if(playerchats&&strequals(#c,Ride Small Boat)&&hasweapon(Small Boat)){
set ridingboat;
disableweapons;
this.step=1;
this.next=0;

}
if(ridingboat&&hasweapon(Small Boat)){

hideplayer .1;

stopsound water.wav;
play svrvilla.mid;

if(keydown(1)&&ridingboat&&onwater(playerx,playery)){
showimg 1,expelboat4.gif,playerx-1,playery-1;
this.step++;
if(this.step>2&&this.next=0){
this.step=1;
this.next=1;
}
stopsound water.wav;
}
if(keydown(2)&&ridingboat&&onwater(playerx,playery)){
showimg 1,elfboat.png,playerx-1,playery-1;
this.step++;
if(this.step>2&&this.next=0){
this.step=1;
this.next=1;
}
stopsound water.wav;
}
if(keydown(3)&&ridingboat&&onwater(playerx,playery)){
showimg 1,bomb.png,playerx-1,playery-1;
this.step++;
if(this.step>2&&this.next=0){
this.step=1;
this.next=1;
}
stopsound water.wav;
}
if(keydown(0)&&ridingboat&&onwater(playerx,playery)){
showimg 1,bomb.png,playerx-1,playery-1;
this.step++;
if(this.step>2&&this.next=0){
this.step=1;
this.next=1;
}

stopsound water.wav;

if(keydown(1)&&!ridingboat){
}

if(keydown(2)&&!ridingboat){
}

if(keydown(3)&&!ridingboat){
}

if(keydown(0)&&!ridingboat){
}

}
if(this.step>1&&this.next=1){
this.step=0;
this.next=0;
}

if(playersprite>23||playersprite<33){
takeplayercarry;
}
if(playeronhorse){
puthorse #5,playerx,playery;
takeplayerhorse;
}

if(strequals(#c,Leave Small Boat)||playerdies&&ridingboat){
unset ridingboat;
hideimg 1;
enableweapons;
hideimg;
stopmidi;
}

if (!onwater(playerx+1,playery+1)) {
unset ridingboat;
hideimg 1;
enableweapons;
hideimg;
stopmidi;
}

timeout=.05;
and if you try that and change a few scripts it be a carscript

Shouldn’t this be in the NPC Forums? not the suggestion box?

Could have also used a horse for either. lol

Cars eating bushes and bombs… I like where this is going.

Yeah dude! And don’t forget they breath fire too!

This is unnecessary if your making a car… you could just use one image and then put in level npc with the puthorse command, and just disable the bush eating button in a hidden weapon… but yer good job :slight_smile: now all you have to do is get a car image instead of a bomb lol

If you notice, it’s made by AYLAD, why is she getting the credit for what he has created? That’s like me downloading his Terra town and saying I made it.

Meh, least they left the credit in there. Most of them automatically change that to their own names.