• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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