Hi. I'm trying to make a custom map and I'm currently struggling with scripting. I'm very new to using the editor and I've been trying to make a group of units Attack-Move to a certain location. I was able to make the units spawn when entering the region, but they won't move-attack at all unless my units get within their range.
Here's my script

Here's my script
-
Unit spawn 2
-

Events
-


Unidad - A unit enters HeroArrives <gen>
-
-

Conditions
-


((Triggering unit) is Un héroe) Igual a True
-
-

Acciones
-


Detonador - Turn off (This trigger)
-


Unidad - Order (Last created unit) to Atacar-mover a (Center of HeroArrives <gen>)
-


Unidad - Create 2 Myrmidon naga for Jugador 2 (azul) at (Center of Naga Spawn <gen>) facing (Position of (Triggering unit))
-
-





