| 08-01-2004, 09:04 PM | #1 |
Basically its a castle defense i need to move- attack the group to the gate of the castle then when the gate dies i need them to move - attack inside to another rect. Also if the gate is already destroyed i need them to move - attack to the rect inside the castle. Any help? |
| 08-01-2004, 10:51 PM | #2 |
When you spawn the units, make then a loop, or else you will not have the order working correctly.Then add this action to your trigger, inside of the loop. If- Destructible(your gate) is alive then- Order last created unit to attack (your gate) else- Order last created unit to attack-move to(your region) Do this trigger to make then attack to the region after the gate dies Event-Destructible (your gate) dies Action-Pick every units whitin 500 of position of Dying destructible matching owner of matching unit is (the owner of the spawning units) then do order picked unit to attack-move to (the attack region). |
| 08-02-2004, 12:02 AM | #3 |
How do i create a loop and my gate is not a destructible. I need it to upgrade so i made it into a structure with the model of the gate attatched to it. :8 |
| 08-02-2004, 12:08 AM | #4 |
Under actions, instead of looking through the category just open the actions right away and if you look down there should be an action called "If,then,else multiple functions" Use that if you need more than one action per if like if gate is alive do this do that Or you can use if,then,else single action or something like that for just one "then" action. And what is your gate if it isn't a destructible? a doodad or unit? |
| 08-02-2004, 12:10 AM | #5 |
My gates a structure. |
| 08-02-2004, 12:14 AM | #6 |
then use if structure "gate name" is alive equal to true |
| 08-02-2004, 01:01 AM | #7 |
tyvm for the help :) gave you both rep |
| 08-02-2004, 01:20 AM | #8 |
ty I would of helped you with the gatew but i was playing a game while giving the trigger tips and now im gonna play another sry |
