HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Blocking (Unit defense)

10-04-2005, 04:39 PM#1
Mr.V
I'm making something like a Tower Defense, only with units instead of towers. The problem is, when the units form a wall, so that the waves can't get through - then the waves don't do anything. How do I get them to attack? I've tried basically everything...
10-04-2005, 08:52 PM#2
Tim.
The unit needs a pathing map. Is there a reason why you cannot have the units imobile?
10-05-2005, 06:09 AM#3
Mr.V
Not sure what you mean by "pathing map", if you mean that they should have their own "road" for walking where the defending player units can't go, then I don't want that. I want the mazing-option.
10-05-2005, 08:25 AM#4
BBDino
A) Test to make sure the units CAN be attacked by the spawn. (Test it by controlling them yourself) If they can't rectifiy this.

B) I Have never specifically made a TD trigger but i'd imagine telling your units to ATTACK MOVE instead of MOVE should solve your problem as long as A is true.
10-05-2005, 11:59 AM#5
Mr.V
I'm sure that they can, I've tested it. And I've tried attack-move as well, doesn't work.
10-05-2005, 04:54 PM#6
Anitarf
Quote:
Originally Posted by Mr.V
I'm sure that they can, I've tested it. And I've tried attack-move as well, doesn't work.
Then, obviously, they can't attack them. Check allies settings.
10-05-2005, 05:40 PM#7
Mr.V
Well, they treat the players as neutral. Then they should be able to attack if blocked, right?
10-06-2005, 12:20 AM#8
Taur
Quote:
Originally Posted by Mr.V
Well, they treat the players as neutral. Then they should be able to attack if blocked, right?
well no, they just won't attack them at all. they have to be enemies,
10-06-2005, 06:27 AM#9
Mr.V
Ahh okay, will try.
10-06-2005, 07:44 AM#10
BBDino
Think about it. If YOU THE PLAYER A+Move neutral units, do YOU attack them?

Common sense people, works wonders.
10-06-2005, 09:51 AM#11
Mr.V
Well, I've set myself to be the enemy, but now they attack me even when I don't block (like I thought that they would).
And they do that when I'm an enemy and they A+Move.
10-06-2005, 09:58 AM#12
Anitarf
Then just order them to move instead? Think about it, if you order your units to move, do they attack enemies on the way?

Common sense, please.
10-06-2005, 10:51 AM#13
Mr.V
Quote:
Originally Posted by Anitarf
Then just order them to move instead? Think about it, if you order your units to move, do they attack enemies on the way?

Common sense, please.

No, but then they don't attack them when blocked either! (have tested move-function)
10-06-2005, 12:43 PM#14
xxxSpikexxx
false.
They do after some time. if a unit can't find a way to its destination it will somewhen give up and stop. and when a unit stopped it will automaticly start attacking enemys nearby - this AI fuction is used since starcraft's sunken defense. pretty much the base of tower defenses.
10-06-2005, 03:22 PM#15
Mr.V
Well, I've given them like 2 minutes to react to the wall and nothing happens! (Yes, I'm sure that they can attack the walling units)