Ok so I know the basics of this, and i know they have to be owned by computer players and stuff, so I tried it out, but I can't get the scarabs to attack where I want, they just go and it seems like they're trying to move to a certain location.
I have a location following the hero of the player called P1 Hero Location, and I want to move the scarabs to that location and have them attack any bad guys that are near.
Here's what I did.
Players: 1
Conditions: Player 1 Brings exactly 1 Corsair to location SPELLS
Actions:
Remove all Corsair for current player at location SPELLS
Modify Death Counts for current player set to 120 for BooM
Preserve Trigger
-----------------------------------------------------------------------------
Players: 1
Conditions: Current Player has suffered atleast 1 deaths of BooM
Actions: Modify death counts for current player subtract 1 for BooM
------------------------------------------------------------------------------
Players: 1
Conditions: Current Player has suffered atleast 2 deaths of BooM
Actions:
Move all Scarab owned by player 4 at location Scarabs to location P1 Hero Location
Run ai Script: Set Generic Command Target at location P1 Hero Location
Run ai Script: Make These Units Patrol at locatoin P1 Hero Locatoin
Preserve Trigger
I have a location following the hero of the player called P1 Hero Location, and I want to move the scarabs to that location and have them attack any bad guys that are near.
But it doesn't work, so how do I do it?
None.