R
RyceEater
Guest
Ok so here is how it is. I've used this triggering to separate the scarabs from reavers.
Condition:
always
Action:
Teleport/Move "all" "scarabs" at "Location 1" to "Location 2"
preserve trigger
so now the scarabs are in a separate closed area away from the reavers. Now I want to make 1 scarab teleport from the closed area to another location in the map and attack the near enemy unit from that location.
I know you need the AI script "set generic command point" and "patrol to top left corner", but i dont know how to set up the triggers so that the scarab will go and attack the neareset unit after it teleports away from the closed area.
Condition:
always
Action:
Teleport/Move "all" "scarabs" at "Location 1" to "Location 2"
preserve trigger
so now the scarabs are in a separate closed area away from the reavers. Now I want to make 1 scarab teleport from the closed area to another location in the map and attack the near enemy unit from that location.
I know you need the AI script "set generic command point" and "patrol to top left corner", but i dont know how to set up the triggers so that the scarab will go and attack the neareset unit after it teleports away from the closed area.