- Joined
- Jul 14, 2011
- Messages
- 3,213
Hi!
I'm working on a TD where there's a Wind Elemental that has a random chance to create a tornado that sucks units in 350 AoE into it. To make it more realistic: near units are more attracted than far units.
The thing is, I don't want to interrupt unit orders so I have to do it with X/Y coords and i'm not that good on math.
It's not like Dota's Dark Seer Vaccum which sends them all to the center, but rather increase the "sucking power" nearer the units are from the base of the tornado.
I would really appreciate any help!
I also have an Earth elemental, but I don't know what AoE effect give to it. Any ideas?
I'm working on a TD where there's a Wind Elemental that has a random chance to create a tornado that sucks units in 350 AoE into it. To make it more realistic: near units are more attracted than far units.
The thing is, I don't want to interrupt unit orders so I have to do it with X/Y coords and i'm not that good on math.
It's not like Dota's Dark Seer Vaccum which sends them all to the center, but rather increase the "sucking power" nearer the units are from the base of the tornado.
I would really appreciate any help!
I also have an Earth elemental, but I don't know what AoE effect give to it. Any ideas?