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

[Trigger] Respawning trees.

Status
Not open for further replies.
Level 3
Joined
Apr 20, 2005
Messages
34
I've been at it for a while, but does anyone have a trigger for respawning trees.

Its seems that only the doodads are respawning (cages and such).

Do I have edit the trees to be units maybe?
 
Level 32
Joined
Oct 23, 2006
Messages
5,291
Tree Respawn Trigger

Other users have ask about tree respawning in the past.

THW's SuperSecretSearchSystem can help you answer many questions.

To respawn trees add a trigger to your map:

  • Respawn Trees
    • Events
      • Destructible - A destructible within (Playable map area) dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to Summer Tree Wall
    • Actions
      • Destructible - Resurrect (Dying destructible) with (Max life of (Dying destructible)) life and Show birth animation
Basically, that's it.
Innumerable variants are possible: for example, you could change (Playable map area) to a specific region or Summer Tree Wall to another type of tree.
 
Level 3
Joined
Apr 20, 2005
Messages
34
Ok, I used the "supersecretsearchsystem" and found LordZsar1's jass formula for it.

Much thanks.

oh and,
just in theory, theres no reason why dividing the map into smaller regions wouldnt work is there?
 
Last edited:
Status
Not open for further replies.
Top