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

limit tree choppers per tree?

Status
Not open for further replies.
Level 4
Joined
Aug 30, 2008
Messages
82
how can i limit the number of tree choppers, chopping a tree at a time?

it cant be like the wisp's, they need to chop and return lumber.
 
Level 5
Joined
Jul 12, 2007
Messages
113
Honestly, the only limiting factor I can think of is the collision size of the units: how much workers are able to stand next to the tree at the same time due to their size.
 
Level 6
Joined
Mar 5, 2010
Messages
149
Well, really hard, and trigger ain't my good side, but I'll give it a shot. I'm absolutely NOT sure if this works. This, unfortunately, requires a region at every tree, and a Condition for every region.

  • test
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Harvest (Ghouls Lumber)
      • (Number of units in (Units in (*Tree region*))) Greater than 1
    • Actions
      • Unit - Remove Harvest (Ghouls Lumber) from (Triggering unit)
      • Wait 1.00 seconds
      • Unit - Add Harvest (Ghouls Lumber) to (Triggering unit)
 
Status
Not open for further replies.
Top