Hey there,
I'm new with triggers, starting and trying stuffs. I did try many possbilities, but I cannot find which "Action" I need to use to do what I want.
So what I wanna do is that my unit is moving from point A to point B after spawning in point A. That's the easy part that I can do. So I made a simple trigger creating 1 footman every 5 secondes in Region A. When a unit enter Region A, it goes to a random point in Region B. (Unit is neutral hostile).
My problem is that I would like my unit to attack any ennemy he faces before he arrives in Region B.
Otherwise, footman spawned, he meets a grunt between his travel to Region B, fight him, then if alive, take back his path to Region B.
I don't need a all made solution, but at least some explanations with which actions I should use
Thank you
I'm new with triggers, starting and trying stuffs. I did try many possbilities, but I cannot find which "Action" I need to use to do what I want.
So what I wanna do is that my unit is moving from point A to point B after spawning in point A. That's the easy part that I can do. So I made a simple trigger creating 1 footman every 5 secondes in Region A. When a unit enter Region A, it goes to a random point in Region B. (Unit is neutral hostile).
My problem is that I would like my unit to attack any ennemy he faces before he arrives in Region B.
Otherwise, footman spawned, he meets a grunt between his travel to Region B, fight him, then if alive, take back his path to Region B.
I don't need a all made solution, but at least some explanations with which actions I should use
Thank you