• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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