| 10-28-2003, 04:43 AM | #1 |
I'm trying to make an alamo type scenario where enemies keep spawning some distance away from the user's base and continuously attack. The only problem is that the bad guys won't attack the gates surrounding the fort. I've tried just about everything I can think of and nothing works...any ideas? |
| 10-28-2003, 04:47 AM | #2 |
maybe make a regoin around the gates and a trigger Code:
unit enters (regoin around the gate) entering unit equel to (dont know your map so dont know what should go here, maybe player owned. i dunno) also some other condition checking that the gate exists, not suer, but you can do it with varialbes order entering unit to attack (gate) |
| 10-28-2003, 04:49 AM | #3 |
Are you just ordering them to attack move? Destructibles, like gates, are not considered at all hostile to units; if you want them to batter down the gates, you'll need to order them specifically to attack that item. Once the gate dies, they'll be free to act. Make a trigger action along the lines of: If Condition: Gate doodad is alive = False Then Action: Order spawned units to attack <Player base> Else Action: Order spawned units to attack Gate doodad. |
| 10-28-2003, 04:58 AM | #4 |
biflspud actually covered it all. but if you are going to make units attack them while they are attacking the gate you should choose to have a few units attack the gate while the rest defend. but if that is not the case than just do biflspud's trigger. |
| 10-28-2003, 05:05 AM | #5 |
I tried something similar to what you guys are suggesting. I made all the enemies spawn in one region and every time a unit enters that region they are ordered to attack the gate. For some reason though, they just run up to the gate and don't attack it. |
| 10-28-2003, 05:21 AM | #6 |
are you ordering them to directly attack the gate itself? and maybe you should check if the gate is set to indestructable. i set my gates to indestructable all the time. other than that i dun know what in the world could be happening. are you sure you are adding all the units to a unit group before making the unit group attack it. and also are you sure that you are using the action pick all unit in (unit group) and do order picked units to attack gate |
