• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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