Probably a much easier and more efficient way of doing it but couldn't you store the position of the unit, then a second or so later check the co-ordinates between the stored position of the unit (old pos) and its current pos. If they are different you have movement :)?
That wont do for my needs :<. I need to make it detect it right away. And I was also wondering how to make ability cast while moving so the caster wont stop moving (there is movement allowed flag in abilities, but didnt change anything)....
edit* Problem solved, not sure what I did, but Clicked all sorts of stuff from ability to make it work while moving and I used count order count to detect movement (not sure if this will get bugged with some orders, but seems to work fine for now).
Meh hold possition also messes the order, but Im not sure if matters for my cause....
How can you check with triggers if unit is moving...in wc3 we had movement speed of unit, but couldnt find anything like that here :/
Probably a much easier and more efficient way of doing it but couldn't you store the position of the unit, then a second or so later check the co-ordinates between the stored position of the unit (old pos) and its current pos. If they are different you have movement :)?
That wont do for my needs :<. I need to make it detect it right away. And I was also wondering how to make ability cast while moving so the caster wont stop moving (there is movement allowed flag in abilities, but didnt change anything)....
Meh hold possition also messes the order, but Im not sure if matters for my cause....