So I'm making an ability using the Knockback 2D system developed by Bribe.
http://www.hiveworkshop.com/forums/spells-569/knockback-2d-203180/index4.html
Unit activates his "Great Swing" which makes his next attack knockback the units. This video demonstrates the problem:
https://www.youtube.com/watch?v=95tY0SnW2YA&feature=youtu.be
If enemy units cluster together, units are being thrown around everywhere. I was hoping ONLY enemies near and in the way of the original unit that was attacked (with the ability) gets knocked back. Unfortunately, a chain reaction is occuring where every unit near any knockback unit is pushed away. I'm not sure how to tweak the system because I have no Jass knowledge. Can anybody help me out?
http://www.hiveworkshop.com/forums/spells-569/knockback-2d-203180/index4.html
Unit activates his "Great Swing" which makes his next attack knockback the units. This video demonstrates the problem:
https://www.youtube.com/watch?v=95tY0SnW2YA&feature=youtu.be
If enemy units cluster together, units are being thrown around everywhere. I was hoping ONLY enemies near and in the way of the original unit that was attacked (with the ability) gets knocked back. Unfortunately, a chain reaction is occuring where every unit near any knockback unit is pushed away. I'm not sure how to tweak the system because I have no Jass knowledge. Can anybody help me out?