• 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.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

Unharvestable Trees?

Status
Not open for further replies.
Level 6
Joined
Aug 12, 2007
Messages
201
I want to make a tree that is exactly the same as a normal tree in every single way EXCEPT that you can't gather wood from it. And this means it HAS to be targeted as Tree, otherwise if it is treated like Crates or Cages and other destructibles, anyone can attack it, not just peasants and siege weapons.

I thought maybe you could set a trigger that would replace peasants with identical peasants that have no harvest ability but can still attack trees when they target the type of tree that is not supposed to give wood, but destructibles apparently have a problem where it only counts the first 64 in the map for triggers. Any way to set ANYTHING up that emulates what I want?

EDIT: I guess I solved it. My 'Tree' is now a Ward, and no one but units that can normally hit trees can hit wards anymore. I wasn't using any natural wards in my game anyways.
 
Last edited:
Status
Not open for further replies.
Top