Unit weapon range buffer question.
Posted: 17 Dec 2011, 19:29
Ok so a unit when it goes to fire at a unit, the target must be within it's max range. this is normally ok but for some things this is an issue. Say a unit that has to setup to fire, because that is what I am about to do. Certain units like say the xamel have to use a setup animation before firing.

So take the above picture.
step A: unit sees target goes just into his range(red) and begins aiming animation..
step B: target moves out of range edge. Unit has to move to fire at target.
What happens is a unit moving, stopping, moving stopping over and over again.
so is there a way to have C, a minimum range(represented by green) to unit before it starts aiming to fire at target?

So take the above picture.
step A: unit sees target goes just into his range(red) and begins aiming animation..
step B: target moves out of range edge. Unit has to move to fire at target.
What happens is a unit moving, stopping, moving stopping over and over again.
so is there a way to have C, a minimum range(represented by green) to unit before it starts aiming to fire at target?