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!
A unit uses an ability
ability = trans
trigger turn on trans healing trigger
trans healing trigger:
every 0.5 seconds
pick every destructible around unit_hero and do:
if destructible health < destrucitble max
destructible set health + 1
your solution worked but i only needed 1 trigger.(i did some slight modifications like using destructible resurrect. ) i did however ask for a way to plant them as well. therefore one problem is solved out of 2 but 1 remnains. please help me with that as well.
Make an item based off Tiny Scout tower that places a dummy unit.
Have a trigger that detects when your dummy unit enters the map.
Replace it with a destructible.
Well then in addition to LordDz's trigger, add the lines:
Region - Center Tree Region <gen> on (Position of (Casting unit))
Destructible - Create a Summer Tree Wall at (Random point in Tree Region <gen>) facing (Random angle) with scale 1.00 and variation 0
This is the only way I can think of doing it. It will create 1 tree at a random point around the caster of tranquility. If you wanted trees to be created every 0.5 seconds, then you'd need the second periodic running trigger LordDz posted.
set tempReal = math random number between 10 and 40
Set temppoint1 center of triggering unit
set temppoint2 = temppoint1 offset by tempReal facing math - random angle
Destructible - Create a Summer Tree Wall at temppoint2 facing (Random angle) with scale 1.00 and variation random number between 0 and 7
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.