Staredit Network

Staredit Network -> UMS Assistance -> Computer units wont attack..
Report, edit, etc...Posted by Staredit.Net Essence on 2005-11-27 at 11:13:18
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 confused.gif helpsmilie.gif



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();

Report, edit, etc...Posted by 00cnr on 2005-11-27 at 11:20:06
Did you use a trigger to unally the computer to the player who owns the building?
Report, edit, etc...Posted by Staredit.Net Essence on 2005-11-27 at 11:28:27
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.
Report, edit, etc...Posted by PCFredZ on 2005-11-27 at 11:32:02
Attach the map.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-11-27 at 11:52:18
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
Next Page (1)