Trigger, revive dead trees

Komaqtion

You can change this now in User CP.
Reaction score
469
24 hours ?!

You mean like every in-game day ? :eek:

If so, then something like this should work ;)

Trigger:
  • Revive Trees
    • Events
      • Game - The in-game time of day becomes Equal to 6.00
    • 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
              • ((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


If not, then just change the event to whatever you want ;)
 

italocolt

New Member
Reaction score
1
24 hours ?!

You mean like every in-game day ? :eek:

If so, then something like this should work ;)

Trigger:
  • Revive Trees
    • Events
      • Game - The in-game time of day becomes Equal to 6.00
    • 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
              • ((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


If not, then just change the event to whatever you want ;)

Thanks mann ;D is that than I want!!!!
 

Xan_Kriegor

I can change this now in User CP.
Reaction score
12
Minor issue

I'm not entirely sure, but aren't there other destructibles that aren't trees that this would resurrect? My (somewhat weak, but should work) solution is that there's an item ability that I think is sold from the ladder Night Elf shop, some item that regrows trees in a certain radius around the caster. Just change the AoE to global (i.e. 99,999) and create a dummy unit that casts it every 24 hours.

Hopefully that helps! :)
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Or, you could just simply check whether the picked destructible is the tree type you use in you map ;)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top