From the target point, create another point offset from the target by, say, 0 degrees and place a tree there. Now add it by 45 degrees and place another tree. And so on, and so on...
I set the destructibles to a variable so you can remove them later like Sprout. (You'd need to index the destructibles properly using an indexing system if you want the trigger to be MUI, which this trigger isn't)
- Set point[0] = (Target point of ability being cast)
- For each (Integer loop) from 0 to 7, do (Actions)
- Loop - Actions
- Set facing = (0.00 + (45.00 x (Real(loop))))
- Set point[1] = (point[0] offset by 250.00 towards facing degrees)
- Destructible - Create a Summer Tree Wall at point[1] facing (Random angle) with scale 1.00 and variation 0
- Set dest[loop] = (Last created destructible)
- Custom script: call RemoveLocation(udg_point[1])
- Custom script: call RemoveLocation(udg_point[0])
If they are too far away or apart just modify the values used to spawn them
Here is MUI version with configurations. + Remove from the game, because dead desctuctibles can't be removed by decaying like corpses. and as consequence they load the game memory each spell use.Hello thanks for viewing!
I know this is a bit easy, but I cant figure it out.
How can I spawn trees at a target or an area? Like the Sprout ability of Furion (Prophet) in Dota..
Thanks in advance