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

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:
 
Level 11
Joined
Oct 20, 2007
Messages
342
  • 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.
Top