HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

TD map: weird problem

08-27-2004, 06:25 PM#1
SharQueDo
I'm making a TD map (yes another TD). And when testing, I found this weird error/bug.

When an enemy spawns for red, it walks half to the other region, then turns back, walks to start, and then walks all the way to the region it supposed to walk to without turning back.

I've attached the map with this post.

Don't take credits for the map, ect, ect...

SharQueDo
08-28-2004, 02:18 AM#2
Ninja73
k... i had this problem... this is whats happening:

|---------|
|Region|
|---------|


|---------|
|Region|
|---------|
|---------|
|Spawn|
|---------|

Ok, lets say thats ur setup, u order spawned units to go to region, then from region 2 region, well if ur regions rnt big or the units collizion is big they wont b able 2 enter the region and instead decide to go back and get ordered back to it again, its a pretty ez fix, this is what i would do... make all ur units flying type so they can stack, then make them all spawn in the region, then do an action like:

for 1-unit count of units in spawn do
pick every 1 random unit in spawn and do
order picked unit to move to region
wait 1

also, make there collision size 0 for all units.

this will make it so that the units will all stack on each other and leave the spawn 1 at a time in a row, it works pretty good and looks better then a big cluster of units.
08-28-2004, 10:50 AM#3
SharQueDo
Ahhh! So it's the collision size! I forgot to set that! Thanks!

SharQueDo

P.S. And please, next time, use correct English Grammar. It's quite easier reading. ;)