• 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 - How do i make units attack move to a single unit?

Status
Not open for further replies.
Level 2
Joined
Aug 9, 2004
Messages
11
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"
 
Level 9
Joined
Sep 8, 2004
Messages
633
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.
Top