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

Make unit that patrol can attack enemy

Status
Not open for further replies.
Level 3
Joined
Feb 11, 2013
Messages
28
Hello everyone, i have created a trigger that order a unit owned by neutral Hostile to patrol to a point. The problem is the unit did not attack the enemy around.

My Trigger:
  • Events
  • Unit - Unit come within range of 100 of dummy 096 gen
  • Conditions
  • ........
  • Action
  • Unit - Order triggering unit patrol to position of dummy 087 gen
When the unit is attacked , the unit is like going around :vw_unimpressed:=.= and did not attack.
View attachment 122962
 

Attachments

  • Untitled.png
    Untitled.png
    581.6 KB · Views: 341
I'd go for making 2 triggers with the -attack- command targeting the ground.
This way you have to make him move back too, but I'm pretty sure it works the way you want.
I never used patrol command... its a bit funky.
 
I think it's can't if just 2 triggers, perhaps it needs 4 triggers if it will creates region. The second trigger is to check if the unit is entering the target ground, the third trigger is to check if the unit is entering the first unit position and the fourth trigger is to check if the unit is ordered to stop, so the created region can be destroyed, also the first unit position.

And honestly i can't help.... :)
 
Neutral Hostile have special behaviour towards buildings. This is to stop a player using them in melee as reinforcements by luring nearby camps to a base and having them kill it for them. With nightelf buildings (ones which attack back) it would cause them to never return to their camp and thus give the luring player a huge advantage in attacking a base (the defender has to deal with the other player on one side and the creeps on the other).
 
Status
Not open for further replies.
Back
Top