Casting Unit and other function response stuff (Triggering Unit etc.)
Isnt wait friendly.
Apparently, Wait
can be used and still maintain its stability (not bug) with
only (Triggering unit). It is because it is referred as default local unit in GUI. Therefore, you can use Wait for only (Triggering unit) and it still works, very well.
At Thread:
You know that the formula of Speed = Distance / Time, right ?
The way I see it, you wanna make your unit to fly accordingly with a "timed" speed of interval of initially 9 seconds, next is 20 seconds, and rest it 10 seconds interval.
I have attached a test map for you
Type "-time <your value>" to change the time taken for the unit to fly to designated height.
Example: -time 3, this mean that the unit will fly to the height of certain height (can be modified in Setup Trigger and in-game) in 3 seconds time.
For changing height in-game, type "-height <your value>"
Example: -height 500
This Flight System works well if you wanna have a different Speed at all time.
Initial Settings: Height = 500 range of y-axis | Time Taken = 1 second
It is completely MUI.