- Joined
- Dec 28, 2009
- Messages
- 257
Heya folks, another dumb question of mine..
Basically, ive got one unit with like 3 spells (sleep, shadow strike and shockwave-based spelld respectively), all of which have got range around 200 (thats bigger melee).
However, i cant figure out working trigger that would basically prevent this unit from using melee Shadow Strike or anything on unit that is at range more than 200, incriminated unit sometimes just runs across hall just to use that Shadow Strike or some spell on that unit, while i'd prefer it to spam spells on melee range only targets...
I had something basic like
but that doesnt work, it prevents spells with cast range above 200 from being cast if you are further away from unit than 200, or something like that.
So, any help? I bet it isnt hard, and again im missing some small piece of trigger to make it work.. thanks
Basically, ive got one unit with like 3 spells (sleep, shadow strike and shockwave-based spelld respectively), all of which have got range around 200 (thats bigger melee).
However, i cant figure out working trigger that would basically prevent this unit from using melee Shadow Strike or anything on unit that is at range more than 200, incriminated unit sometimes just runs across hall just to use that Shadow Strike or some spell on that unit, while i'd prefer it to spam spells on melee range only targets...
I had something basic like
- Unit begins casting an ability
- Ability being cast is equal to X /and/ Target of ability being cast belongs to unit within 200 of Casting unit equal to false
- Order casting unit to Stop
but that doesnt work, it prevents spells with cast range above 200 from being cast if you are further away from unit than 200, or something like that.
So, any help? I bet it isnt hard, and again im missing some small piece of trigger to make it work.. thanks