• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Moving/attack unit

Status
Not open for further replies.
Level 7
Joined
Sep 3, 2020
Messages
193
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 :peasant-smile:

Thank you :peasant-bowing:
 
Level 7
Joined
Sep 3, 2020
Messages
193
Nevermind, I just found that I didnt check over "move to" and there was "move/attack to". Sorrrryyyy :) I dont know how to change the tag to my post from trigger to solved :peasant-blushing:
 
Status
Not open for further replies.
Top