Hello Guys, i need a system of knockbacking
i mean some of this: if any unit (except any building) take more 100 damage, that unit knockbacks with 50 range. If takes 500 damage, knockback range is 250, if unit take 1000 damage, that knockback range is 500.. So range is "damage : 2" and etc.
but knockback is only work if unit take Greater than or equal to 100.
i mean some of this: if any unit (except any building) take more 100 damage, that unit knockbacks with 50 range. If takes 500 damage, knockback range is 250, if unit take 1000 damage, that knockback range is 500.. So range is "damage : 2" and etc.
but knockback is only work if unit take Greater than or equal to 100.