[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?
 
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.
 
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.
Back
Top