• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Harvesting from trees and rock chuncks

Status
Not open for further replies.
Level 7
Joined
Jul 29, 2009
Messages
276
I have a worker unit i want to allow only workers to harvest woods and rocks, this is done by hitting a rock/tree until it dies.
the thing i need help with is:

how do i know what type of unit attacked and killed the dooded (so i can limit it only to workers)?
also, is there a way that i can manage the amount of damage the worker inflects to the tree or rock, and only for them, based on items/upgrades he has?
 
I tried the condition and its not working, i think the "Killing unit" dosnt apllays when the dying thing is a dooded.
 
Give the workers an attack that only targets debris, then make those units debris, and remove debris targeting for other units. Well, you can use any other targeted as thing you want, that's just what I would do.
 
Status
Not open for further replies.
Back
Top