Pick by evaluate would have been easier.
On bullet collision with enemy
+pick all enemy
+pick enemy by evaluating distance(enemy.x, enemy.y, bullet.x, bullet.y) >= 50
-> Do splash damages to picked enemies
Thanks, but i cant make it work, lol.
Im adding another condition - pick all enemies,
Adding another - pick enemy by evaluating distance (with my parameters) and tower doesnt do damage.
Funny is, when im toggle evaluating disabled, it attacks enemyes, but it kills random number of it, like 5 or 7, no matter what wave is it.
But if i leave only evaluating - it doesnt work at all, bullet doesnt collides enemy, or smt.
Can you, please, explain that and tell me when im wrong.
Thanks again.
Well i did it by myself, at 1st - picking is a sub event, and we need to pick enemyes wich in splash radius, so
pick enemy by evaluating distance(enemy.x, enemy.y, bullet.x, bullet.y) <= bullet.SplashRadius