Units spawn at location 1, they go to location 2 and there is enemy building but they wont attack the enemy building, they just stand there doing nothing :/ I have teams in different forces (computer 1 and computer 2)...
Why it wont work
| Trigger |
| Description: |
| Attack Move |
|
| Conditions: |
| ¤ Bring(CurrentPlayer, AtLeast, 1, AnyUnit, Team 1 Spawn); |
| Actions: |
¤ Order(AnyUnit, CurrentPlayer, Team 1 Spawn, Patrol, Team 2 Spawn);
|
¤ MoveUnit(All, AnyUnit, CurrentPlayer, Team 2 Spawn, Team 2 Spawn);
|
| ¤ PreserveTrigger(); |
Did you use a trigger to unally the computer to the player who owns the building?
Yes but it didnt work either, and i tried to delete the trigger and StarForge Tilted and said something about a runtime error.
the terrain is Installiation, btw.
I had to start the map all over again cuz i couldnt make anymore triggers....
But i can attach the map if u want to see the triggers..
[attachmentid=15633]
ADDITION:
I found the solution :/
i changed the MoveUnit trigger to patrol between locations team 2 spawn and team 2 spawn, then i made the unally trigger again... and it works fine now, dont know why it didnt work in the other version... oh well