treblig_auhc
New Member
- Reaction score
- 2
can anyone show me how to make the ability "Sprout" in Dota which basically surrounds the target in trees when casted?
e: unit starts the effect of an ability
c: ability being cast equal to sprout
a: set cast_point = target point of ability being cast
set angle = angle between triggering unit and cast_point
for each (Integer A) from 1 to 12
Loop Actions
create 1 "tree" at cast_point with polar offset - distance 500 towards angle degrees facing angle
set angle = angle + 30