• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

disable item attacking

Not open for further replies.
Level 13
Sep 29, 2008
I have my item triggers. only one that works is when a unit picks up an item that isn't his it drops the item back, that one works but this one is: It should stop a unit from attacking if the owner of the triggering unit doesn't own the item. so far it doesn't work. its almost the same as the picking one but this one doesn't seem to work. is there something I missed or if someone could give me another way to do this?

  • Attacked
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Target item of issued order) Not equal to No item
      • (Item-class of (Target item of issued order)) Not equal to Charged
      • (Issued order) Equal to (Order(attack))
      • (Owner of (Ordered unit)) Not equal to (Owner of (Target item of issued order))
    • Actions
      • Unit - Order (Triggering unit) to Stop
Level 18
Jan 21, 2006
Try putting a game message and see if the actions are even being executed. If not then it is likely your conditions which are the problem, and we can address that when we get to it. For now, put game text display actions before Unit - Order (Triggering unit) to Stop.
Not open for further replies.