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

[Trigger] Resurrecting trees trigger please

Status
Not open for further replies.
Level 8
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