• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Auto Tree reviving

Status
Not open for further replies.
Level 5
Joined
Jun 5, 2009
Messages
121
Hello Hive-Users,

Its just another noob question my english isnt good i cant find anything for auto tree reviving trigger

I need a Trigger who revives Tree´s automaticly all 10 seconds or after 10 seconds if they "died"

Help will give +rep :)

thanks anyways
 
Level 8
Joined
Aug 21, 2009
Messages
333
Here you go:

  • Revive Trees
    • Events
      • Time - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • Destructible - Pick every destructible in (Playable map area) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Destructible-type of (Picked destructible)) Equal to Summer Tree Wall
              • ((Picked destructible) is dead) Equal to True
            • Then - Actions
              • Destructible - Resurrect (Picked destructible) with (Max life of (Picked destructible)) life and Show birth animation
            • Else - Actions
the Summer Tree Wall can be whatever kind of tree you are using in your map.
 
Status
Not open for further replies.
Top