I'm working on some fireball abilities, and depending what my range settings are, if I click way out of range my unit will either approach where I clicked and then shoot the fireball at the point I clicked, or will just shoot the fireball in the general direction I clicked until it reaches the fireball's max range. I can't get the mouse to go grey and give an "out of range" error if the mouse is too far from my unit when I click. The Transient flag does this, but then allows firing on the move, which I don't want.
transient flag does this because your ability have 0° degree arc (means unit should be full turned to location before casting spell) and (due transientity) unit can't turn to that location. thats why it throws error "out of range" - it's not range like length, its range of arc spells, unit cannot turn.
for your spell i suggest use validator with custom "out of range" error message. just add it to your main ability effect with type "location range" and locations source and target points and this will do what u need i think
My Arc is set to 360 - transient just seems to have it throw the error instead of approaching the target, which isn't done by default. I can test this because if I right click something across the screen to start walking then activate my ability to set the targeting icon on the mouse, it will start out grey and give the error if I try to click right away, but turn yellow as soon as it is in range of the spell.
I'm working on some fireball abilities, and depending what my range settings are, if I click way out of range my unit will either approach where I clicked and then shoot the fireball at the point I clicked, or will just shoot the fireball in the general direction I clicked until it reaches the fireball's max range. I can't get the mouse to go grey and give an "out of range" error if the mouse is too far from my unit when I click. The Transient flag does this, but then allows firing on the move, which I don't want.
Any suggestions?
transient flag does this because your ability have 0° degree arc (means unit should be full turned to location before casting spell) and (due transientity) unit can't turn to that location. thats why it throws error "out of range" - it's not range like length, its range of arc spells, unit cannot turn.
for your spell i suggest use validator with custom "out of range" error message. just add it to your main ability effect with type "location range" and locations source and target points and this will do what u need i think
@Fen1kz: Go
My Arc is set to 360 - transient just seems to have it throw the error instead of approaching the target, which isn't done by default. I can test this because if I right click something across the screen to start walking then activate my ability to set the targeting icon on the mouse, it will start out grey and give the error if I try to click right away, but turn yellow as soon as it is in range of the spell.