HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cant seem to get units to attack this gate.

07-03-2004, 06:30 PM#1
sumting
Ok i have it triggered so that the game creates units and send them to attack move to a region. That works fine. But i want them to attack and destroy this gate on the way. Thats not working out as planned. I was thinking making the gate be considered an enemy, but i can seem to be able to do that. Any ideas?
07-03-2004, 07:23 PM#2
Emekun
You might want to try this action, (btw, this thread belongs at Trigger haven instead of here):

Code:
Actions: Pick every unit in (Units in Region1 <gen>) and do (Unit - Order (Picked unit) to Attack WoodenGate <gen>)

Region1 being the region you moved the units to in the first place, and WoodenGate being the destructible you want them to attack.

Hope that i could help
07-03-2004, 07:57 PM#3
sumting
The problem with that is the gate is the only way to the region, so i want them to destroy it first then keep going to the region. Thanks though.


Edit: Hold on i have an idea, i'll tell ya if it works.
07-04-2004, 11:28 AM#4
garith
Well! thats very much like a problem i had in my map! there are very effective but often hazardrous solutions to this though! the trigger that i made was something like this:

Units in (location) attack move to location (a little before gate)
(If there then trigger action)
If there is unit (gate) in (location: gate), order attack distructible in location (gate)

If no gate, attack move to location (Destination)




Hope it helps :8
ShAdOw-SnIpA