Would be good to have a minimum attack range.
Example:
Attacking unit would attack:
Attacking unit:----(Miin)-unit---(Max)
Would not attack:
Attacking unit:---unit (Min)------(Max)
Minimum attack range
Moderator: Moderators
Shouldn't be too difficult to add a minRange tag.
But as mentioned by Pete it's entirely possible with a slaved weapon. The slaved weapon will have the minimum range and actually will never fire.
As long as the AimWeapon function for the null weapon is being called you disable/lock up the real weapon's AimWeapon function and also start a timer-function in the background which will reenable the main weapon after some time - perhaps a bit longer than the interval at which spring aims. Should work like that... somehow.
But as mentioned by Pete it's entirely possible with a slaved weapon. The slaved weapon will have the minimum range and actually will never fire.
As long as the AimWeapon function for the null weapon is being called you disable/lock up the real weapon's AimWeapon function and also start a timer-function in the background which will reenable the main weapon after some time - perhaps a bit longer than the interval at which spring aims. Should work like that... somehow.