I have a problem:
When making spells where the Hero or a dummy changes flying height something is wrong:
If you for example want a unit to throw a bomb (which is a dummy) and the bomb shall explode when it hits the ground I keep checking the distance between the bomb and the target, for the bomb not to explode before. I'm doing the same with height so it doesn't eXplodes in the air but here's the problem.
If I'm using wait for condition - dummy fly height (current) == 0 then it'll never explode. And if im checking for the dummy's current flying height to be < 1.00 or something like that, it'll always count it as something less than 1 even, when its heigh is for example 300.
I tryed this in both GUI and JASS, and I'm totally sure I hasn't done anything wrong (checked it a 100 times).
Does anyone know a solution for this bug?
When making spells where the Hero or a dummy changes flying height something is wrong:
If you for example want a unit to throw a bomb (which is a dummy) and the bomb shall explode when it hits the ground I keep checking the distance between the bomb and the target, for the bomb not to explode before. I'm doing the same with height so it doesn't eXplodes in the air but here's the problem.
If I'm using wait for condition - dummy fly height (current) == 0 then it'll never explode. And if im checking for the dummy's current flying height to be < 1.00 or something like that, it'll always count it as something less than 1 even, when its heigh is for example 300.
I tryed this in both GUI and JASS, and I'm totally sure I hasn't done anything wrong (checked it a 100 times).
Does anyone know a solution for this bug?