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

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