So I thought this would be pretty obvious, but I have an auto-cast ability which auto-casts nicely when the caster is close to the unit it wants to target. However, I then set Auto-cast Range to 500, and move the unit to about 25 distance away.... and nothing happens. If the caster goes back within about 20 distance of the unit, then the ability wants to work again.
I played around with some settings, and found out that if I changed the "Auto-Cast Acquire Level" from "Defensive" to "Offensive", the ability would auto-cast within about a range of 90, but the caster would also wander around alot while trying to get close to the ability target point. Setting the value to "Passive" completely disables the auto-cast.
So I have 2 questions: How do I get the ability to auto-cast within any range I desire (ie 500), and What exactly does the "Auto-Cast Acquire Level" setting do??
Did you perhaps not make the range match the auto cast range? I'm not sure this is exactly what you wanted, but I made the Ghost Snipe auto-cast-capable with a range of 500 and auto-cast acquire level of Defensive, and it worked fine.
No, I didn't! I didn't want the range to be 500 when done manually, but I guess I'll have to suck it up if that's what's needed. This brings up something else I wanted to ask about - why is the range parameter an array? And what is Range Extra?
If you place buildings between your ghost and it's snipe target, it the auto-cast will not work! I've updated your map with a wall of supply depots owned by you, and turned auto-cast on by default. Nothing happens, until you lower the supply depots, and then the ghost goes to chase down his target (I changed the ability range[0] to 10 be to more compliant with mine). If you re-raise the supply depots quickly, the ghost will go back to his original target. This even works if you don't require target vision.
Does anyone have an explanation for how to get around this?
I had three thoughts: "visible" means something other than what I think it does, or the unit's "Use Line of Sight" flag might be causing this behavior, and the unit's vision height might have an effect. All three ideas were wrong! I'm afraid I don't know what else to try for that particular issue. I also tried checking the ability's "Chase" flag, but that didn't help.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey All,
So I thought this would be pretty obvious, but I have an auto-cast ability which auto-casts nicely when the caster is close to the unit it wants to target. However, I then set Auto-cast Range to 500, and move the unit to about 25 distance away.... and nothing happens. If the caster goes back within about 20 distance of the unit, then the ability wants to work again.
I played around with some settings, and found out that if I changed the "Auto-Cast Acquire Level" from "Defensive" to "Offensive", the ability would auto-cast within about a range of 90, but the caster would also wander around alot while trying to get close to the ability target point. Setting the value to "Passive" completely disables the auto-cast.
So I have 2 questions: How do I get the ability to auto-cast within any range I desire (ie 500), and What exactly does the "Auto-Cast Acquire Level" setting do??
Thanks
Did you perhaps not make the range match the auto cast range? I'm not sure this is exactly what you wanted, but I made the Ghost Snipe auto-cast-capable with a range of 500 and auto-cast acquire level of Defensive, and it worked fine.
@DeProgrammer: Go
No, I didn't! I didn't want the range to be 500 when done manually, but I guess I'll have to suck it up if that's what's needed. This brings up something else I wanted to ask about - why is the range parameter an array? And what is Range Extra?
Thanks!
@DeProgrammer: Go
I've found the problem!
(Drum Roll Please).... Buildings!!!!
If you place buildings between your ghost and it's snipe target, it the auto-cast will not work! I've updated your map with a wall of supply depots owned by you, and turned auto-cast on by default. Nothing happens, until you lower the supply depots, and then the ghost goes to chase down his target (I changed the ability range[0] to 10 be to more compliant with mine). If you re-raise the supply depots quickly, the ghost will go back to his original target. This even works if you don't require target vision.
Does anyone have an explanation for how to get around this?
I had three thoughts: "visible" means something other than what I think it does, or the unit's "Use Line of Sight" flag might be causing this behavior, and the unit's vision height might have an effect. All three ideas were wrong! I'm afraid I don't know what else to try for that particular issue. I also tried checking the ability's "Chase" flag, but that didn't help.