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

Make trees durable

Status
Not open for further replies.
With your method the tree will die one day :)

Do something like this :
Event - Periodic check - every x seconds (0.5 should be okay)
Conditions - None
Actions - Set destructible life to 100%

And to be even more sure, put a high life to the tree so you can check only every 5s.

my idea is easier cuz he dont need the tree to last forever he want it to last twice as longer than it used to. Although Malhorne's idea of a trigger can be better. :)
 
@Malhorne wrong. NaserKingArthas idea does make trees more durable. Yours, make them invincible instead. Whatmore, periodic destructable enumeration is some bad design, since it often happens that map has over 5k destructables.

Better solution would be to localy store given tree and with usage of timer, restore some of it's life.
 
Level 12
Joined
Feb 22, 2010
Messages
1,115
If it is not for a specific tree but all trees NaserKingArthas' solution is best.
 
Status
Not open for further replies.
Top