- Joined
- Jun 27, 2008
- Messages
- 2,557
Hello.
Title say it pretty much. How to kill destructibles when unit comes certain distance to it? For example, a Hero comes 150 range to destructible and destructible die.
I solved this problem in a very ugly way. I put a dummy unit in the position of destructible, when hero approach the dummy, I pick all destructibles around dummy and kill them. This was done to low amount of destructibles and and I need to do the same effect to way bigger numbers and now it would be problematic to do so.
Are there any cleaner way to deal with this?
Thanks.
Title say it pretty much. How to kill destructibles when unit comes certain distance to it? For example, a Hero comes 150 range to destructible and destructible die.
I solved this problem in a very ugly way. I put a dummy unit in the position of destructible, when hero approach the dummy, I pick all destructibles around dummy and kill them. This was done to low amount of destructibles and and I need to do the same effect to way bigger numbers and now it would be problematic to do so.
Are there any cleaner way to deal with this?
Thanks.