Aura that heals trees?

sunshinex3

You can change this now in User CP.
Reaction score
7
is their a way to have an aura that actually heals trees? or maybe an immolation ability? lightning shield? something? can't find any thing on this... i tried aura in editor and their attemps with slow poison and negative values.

what i want is for owner of a certain unit be able to collect wood like normal but not have trees die.
 

Accname

2D-Graphics enthusiast
Reaction score
1,456
As far as I know there is no way to do this with the data editor alone. There are no abilities that can heal destructibles I think.

But it should be fairly easy to do with triggers. Have a trigger run periodically and do something like this:
Trigger:
  • Destructible - Pick every destructible within 256.00 of TmpPnt 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
        • Then - Actions
          • Destructible - Set life of (Picked destructible) to (Max life of (Picked destructible))
        • Else - Actions

This will pick all trees (of type Summer Tree Wall) and heal them to the max. You could easily change the above code to make it heal by a certain amount or by a percentage.
If this is supposed to work for multiple units though it might get a bit slow in terms of performance. You should probably just try it out yourself.
 

sunshinex3

You can change this now in User CP.
Reaction score
7
running triggers periodically is something i want to avoid their could be thousands of units on the map at any given time.
 

Accname

2D-Graphics enthusiast
Reaction score
1,456
As far as I know there is no way apart from triggers to heal trees.
 

sunshinex3

You can change this now in User CP.
Reaction score
7
lightning shield immolation dont work but tornado damage aura does... how ever i cant revers aura to heal the trees i beleive its cuz trees cant be healed.... so perhaps since i have an aura that can target trees i can use that to trigger that when tree dies resurrect it if it has buff... maybe...
 

sunshinex3

You can change this now in User CP.
Reaction score
7
Tornado damage aura does deal damage to trees but doodads can't be healed thax for the info i've abandoned this idea.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Friday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday Night!
    +1
  • The Helper The Helper:
    Going out of a town for the weekend will be back sunday night! Hope everyone has a great weekend!
    +2
  • The Helper The Helper:
    Happy Monday!
  • Ghan Ghan:
    Monday? Speak for yourself. :p
    +2
  • The Helper The Helper:
    Happy Taco Tuesday!
    +1
  • The Helper The Helper:
    Tacos! :)
  • The Helper The Helper:
    Check out the discord for taco pictures :) You cannot put pictures in this chat
    +1
  • The Helper The Helper:
    Damn here come the bots again - 193 online but they are totally invisible to any stats - bunch of bots!'
  • C cubanismo:
    Re: Taco Tuesday, if there were some way to share edible tacos over the internet, technology would be complete.
    +2
  • The Helper The Helper:
    One can only wish!
  • tom_mai78101 tom_mai78101:
    I'm back from Taiwan
    +1
  • The Helper The Helper:
    I am reorganizing the site I know nobody will notice but I am not done quite yet but the main forums order has been changed and there is a new news category in Other News which is all the remaining headline news stuff not categorized - Headline News is just the stuff that shows on the main page now and the news archive is off the main forums page
  • The Helper The Helper:
    and the real archive lives off of headline news
  • The Helper The Helper:
    Happy Monday!
  • V-SNES V-SNES:
    Happy Saturday!
  • The Helper The Helper:
    Happy Saturday Night!

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top