Instant Bush Respawner:
Instantly Respawns a bush after touched. Place the NPC on blank tile.
Perhaps useful for events.
if (playerenters) {
dontblock;
drawunderplayer;
setimgpart pics1.png,32,0,32,32;
}
timeout = 0.05;
if (timeout) {
timeout = 0.05;
if (tiles[x,y] == 677 || tiles[x,y] == 0) {
tiles[x,y] = 2;
tiles[x+1,y] = 3;
tiles[x,y+1] = 18;
tiles[x+1,y+1] = 19;
updateboard x,y,2,2;
}
}
Re: Instant Bush Respawner
How fast do bushs respawn normally?
Re: Instant Bush Respawner
eh pretty cool.
And danger I think it's in based on the gservers settings.ini file. Under,
[level]
baddyrespawn = 60
bushesdrop = 0
horselife = 10
noexplosions = 1
tilerespawn = 15 // This one most likely, which is default at 15
vasesdrop = 1
Re: Instant Bush Respawner
Yeah, but if you don't want bushes respawning like every single second in every level, this is great for events. You can have one bush in a bushrace
Agret
December 9, 2007, 7:43am
5
Re: Instant Bush Respawner
Personally i'd set timeout to 1, bit too fast the way it is now.