• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

Item event

Status
Not open for further replies.
Level 45
Joined
Feb 27, 2007
Messages
5,578
The best you can do directly is to detect when a unit is ordered to attack an item, which is not exactly the same thing:
  • Item Attacked
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Target item of issued order) Not equal to No item
      • (Issued order) Equal to (Order(attack))
    • Actions
      • -------- whatever --------
There are also some alternative methods discussed in this thread: Can you detect item destruction
 
Status
Not open for further replies.
Top