How to create ability which resurrects trees?

Status
Not open for further replies.
Level 7
Joined
Jul 1, 2008
Messages
1,023
Hey there, I'm trying to figure out how to create an ability which when activated resurrects any dead trees around the hero to a radius of about 900?

Is this possible? The options for destructibles seems somewhat limited.

I know how to do the trigger event and conditions, so just need help with the actions please?
 
  • Untitled Trigger 084
    • Events
    • Conditions
    • Actions
      • point = pos of unit
      • Destructible - Pick every destructible within 256.00 of point and do (Actions)
        • Loop - Actions
          • Destructible - Resurrect (Picked destructible) with (Max life of (Last created destructible)) life and Show birth animation
      • remove point
Tree detection: https://www.hiveworkshop.com/threads/destroy-only-trees.194925/post-1910913
 
Status
Not open for further replies.
Back
Top