- Joined
- Mar 20, 2008
- Messages
- 485
Okay this is rather complicated (to me) but i can't figure out why the damn thing wont stop.. he rises in the air and starts moving but he never stops.. the way i have this set up is if he casts it a certain distance away it will stop him and change his height back down and stuff.. but its not working..
And don't say .10 seconds is too fast because that doesnt help at all..
-
Flying
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Rush
-
Actions
- Set RushCaster[(Player number of (Owner of (Casting unit)))] = (Casting unit)
- Set RushPoint[(Player number of (Owner of (Casting unit)))] = (Target point of ability being cast)
- Set RushDistance = (Distance between (Position of RushCaster[(Player number of (Owner of (Casting unit)))]) and (Target point of ability being cast))
- Unit - Pause RushCaster[(Player number of (Owner of (Casting unit)))]
- Unit - Add Fly to RushCaster[(Player number of (Owner of (Casting unit)))]
- Unit - Remove Fly from RushCaster[(Player number of (Owner of (Casting unit)))]
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 200.00 at 200.00
- Trigger - Turn on Flying Movement <gen>
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 0.00
- RushDistance Less than or equal to 9.00
-
Then - Actions
- Wait 0.05 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 10.00
- RushDistance Less than or equal to 19.00
-
Then - Actions
- Wait 0.15 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 20.00
- RushDistance Less than or equal to 29.00
-
Then - Actions
- Wait 0.25 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 30.00
- RushDistance Less than or equal to 39.00
-
Then - Actions
- Wait 0.35 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 40.00
- RushDistance Less than or equal to 49.00
-
Then - Actions
- Wait 0.45 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 50.00
- RushDistance Less than or equal to 59.00
-
Then - Actions
- Wait 0.55 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 60.00
- RushDistance Less than or equal to 69.00
-
Then - Actions
- Wait 0.65 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 70.00
- RushDistance Less than or equal to 79.00
-
Then - Actions
- Wait 0.75 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 80.00
- RushDistance Less than or equal to 89.00
-
Then - Actions
- Wait 0.85 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 90.00
- RushDistance Less than or equal to 99.00
-
Then - Actions
- Wait 0.95 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 100.00
- RushDistance Less than or equal to 109.00
-
Then - Actions
- Wait 1.05 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 110.00
- RushDistance Less than or equal to 119.00
-
Then - Actions
- Wait 1.15 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 120.00
- RushDistance Less than or equal to 129.00
-
Then - Actions
- Wait 1.25 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 130.00
- RushDistance Less than or equal to 139.00
-
Then - Actions
- Wait 1.35 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 140.00
- RushDistance Less than or equal to 149.00
-
Then - Actions
- Wait 1.45 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 150.00
- RushDistance Less than or equal to 159.00
-
Then - Actions
- Wait 1.55 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 160.00
- RushDistance Less than or equal to 169.00
-
Then - Actions
- Wait 1.65 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 170.00
- RushDistance Less than or equal to 179.00
-
Then - Actions
- Wait 1.75 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 180.00
- RushDistance Less than or equal to 189.00
-
Then - Actions
- Wait 1.85 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RushDistance Greater than or equal to 190.00
- RushDistance Less than or equal to 199.00
-
Then - Actions
- Wait 1.95 seconds
- Trigger - Turn off Flying Movement <gen>
- Animation - Change RushCaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 200.00
- Unit - Unpause RushCaster[(Player number of (Owner of (Casting unit)))]
- Else - Actions
-
If - Conditions
-
Events
-
Flying Movement
-
Events
- Time - Every 0.10 seconds of game time
- Conditions
-
Actions
- Unit - Move RushCaster[(Player number of (Owner of (Casting unit)))] instantly to ((Position of RushCaster[(Player number of (Owner of (Casting unit)))]) offset by 10.00 towards (Facing of RushCaster[(Player number of (Owner of (Casting unit)))]) degrees)
-
Events