• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

enemy invasion help

Status
Not open for further replies.
Level 4
Joined
Jan 13, 2013
Messages
92
How do i make unit attack when they are ordered to move to another region?, they just pass throught guards instead of attacking them

here are the triggers

  • attack
    • Events
      • Unit - A unit enters KElonir <gen>
    • Conditions
      • (Owner of (Triggering unit)) Egqual to player 11 (green)
    • Actions
      • Unit - Order (Triggering unit) to Move to (Center of WAR <gen>)
 
Level 10
Joined
Apr 18, 2009
Messages
576
Yeah, the action:
  • Unit - Order (Triggering unit) to Move to (Center of WAR <gen>)
Should be this:
  • Unit - Order (Triggering unit) to Attack-Move To (Center of WAR <gen>)
Alternatively you can use Patrol To, which works similarly:
  • Unit - Order (Triggering unit) to Patrol To (Center of WAR <gen>)
 
Status
Not open for further replies.
Top