• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] unit falows hero?

Status
Not open for further replies.
Level 6
Joined
Apr 30, 2008
Messages
153
okay i tryed every way posible but didnt figure out how to make it so that a unit will falow a hero
example


an enamy unit(player 12) unit spawns
unit falows (hero all heros and spers out randomly)


if you can help it will be the most important thanks
 
That will generally do it, but the unit that follows will also attack nearby enemies( I think it accusation range will be smaller though).
Move should do it.
P.s. Or at least that how it is in game
 
The following unit will only attack if the hero attacks. Else if the hero is moving through enemy units, the following unit will just follow through.
 
Ok, make a new trigger.
Get this:
  • Untitled Trigger 001
    • Events
    • Conditions
    • Actions
Ok

Go to new actions and scroll down to "Unit".
Go to the second scroll bar and scroll down a ways until you see:
"Issue Order Targeting a Unit".

Click it and select the unit you want to follow whoever.
Then where is says attack, click it and go down 2 actions to where it says "Follow" and click it.
Then choose your second unit you want to be followed.

Should look like this:
  • Follow Trigger
    • Events
    • Conditions
    • Actions
      • Unit - Order Your_Unit to Follow This_Hero
Hope that helped you out! :D
 
Status
Not open for further replies.
Back
Top