• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Trigger - How do i make units attack move to a single unit?

Status
Not open for further replies.
Attack moving to a single unit doesn't make sense, unless there's only 1 enemy unit in the area.

Attack move generally means "Move to this area, attack along the way (and generally means the closest unit)".

It's kind of like saying "I want to auto cast slow on a specific unit"
 
ThaPokemonMasta said:
Attack moving to a single unit doesn't make sense, unless there's only 1 enemy unit in the area.

Attack move generally means "Move to this area, attack along the way (and generally means the closest unit)".

It's kind of like saying "I want to auto cast slow on a specific unit"

no need to mock him.

Now, what you must do is make a trigger which does the following:

Events:
Every 0.1 seconds of the game
Conditions:
none
Actions:
Center region (unitlocation) on unit - your unit

Then issue order to the attacking units to attack-move to that location, which will be placed on the unit under attack every 0,1 second. (making the location follow it when it moves.)

there you go :)
 
Status
Not open for further replies.
Back
Top