- 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:
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: