• 🏆 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!

Trees - Respawn

Status
Not open for further replies.
Level 5
Joined
Nov 29, 2007
Messages
106
Hi :D, again me :D
I got in my map some spells, items etc that destroys trees in path, like in title, any ideas how to respawning them after 1min 30 seconds ?? U destroy tree and after 1.30 it growing up :D
 
Level 11
Joined
Aug 1, 2009
Messages
714
Oh its you again! Do some like this
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Destructible - Pick every destructible in (Playable map area) and do (Actions)
        • Loop - Actions
          • Trigger - Add to Trees Regrow <gen> the event (Destructible - (Picked destructible) dies)
  • Trees Regrow
    • Events
    • Conditions
    • Actions
      • Wait 90.00 seconds
      • Destructible - Resurrect (Dying destructible) with (Max life of (Last created destructible)) life and Show birth animation
 
Level 29
Joined
Mar 10, 2009
Messages
5,016
this will do...

  • Respawn Trees
    • Events
      • Destructible - A destructible within (Entire map) dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to Summer Tree Wall
    • Actions
      • Wait 30.00 seconds
      • Destructible - Resurrect (Dying destructible) with (Max life of (Dying destructible)) life and Show birth animation
EDIT: Forgot the condition
 
Status
Not open for further replies.
Top