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

Detect Returning of Gold/Lumber return

Status
Not open for further replies.
Level 6
Joined
Aug 19, 2007
Messages
109
How do you make a trigger where it detects when a worker returns some gold or lumber e.g. peasent returns 10 gold to town hall-then actions.

I have tried:
Event:
A unit begins/finishes/stops/starts effect of... casting an ability.
Conditions:
Type of (ability being cast) is equal to return gold and lumber
Actions:
Some stuff.

Im stuck, plz help:eekani:
 
  • Harvest
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Issued order) Equal to (Order(harvest))
          • (Issued order) Equal to (Order(resumeharvesting))
    • Actions
this trigger respond to harvest gold and lumber
 
Status
Not open for further replies.
Back
Top