• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Resurrecting trees trigger please

Status
Not open for further replies.
Level 7
Joined
Nov 22, 2004
Messages
192
I have a unit with force of nature spell summoning Treants out of trees.

I want my forest to stay has it is. So I tried this:

Trees
Events
Destructible - A destructible within Region 020 <gen> dies
Conditions
((Destructible-type of (Dying destructible)) Equal to Ashenvale Tree Wall) or ((Destructible-type of (Dying destructible)) Equal to Village Tree Wall)
Actions
Destructible - Create a (Destructible-type of (Dying destructible)) at (Position of (Dying destructible)) facing (Random angle) with scale (Random real number between 0.80 and 1.45) and variation (Random integer number between 1 and 4)


It looks good but it doesn't work ingame.

I also tried a variation with a unit cast a spell event, and it did not work. But I think this trigger would be best.

What do you think? Is there something to be done. Or do you have a better leakeless with no slow down trigger has a suggestion.

:emote_sweat:
 
Status
Not open for further replies.
Top