• 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.

[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
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
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
 
Level 3
Joined
Feb 24, 2008
Messages
67
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.
 
Level 5
Joined
May 1, 2006
Messages
131
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.
Top