I have a problem on changing the animation height of the unit when it is about to land
Here is the trigger :
Here is the trigger :
-
Jump
-
Events
- Time - Every 0.04 seconds of game time
- Conditions
-
Actions
- Set escapers2Editor = escapers[1]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (escapers2Editor has buff Jumper) Equal to True
-
Then - Actions
- Unit - Add Jump to escapers2Editor
- Unit - Turn collision for escapers2Editor Off
- Set JPoint = (Position of escapers2Editor)
- Set JPoint2 = (JPoint offset by 15.00 towards (Facing of escapers2Editor) degrees)
- Trigger - Turn off Dirt <gen>
- Unit - Move escapers2Editor instantly to JPoint2
- Animation - Change escapers2Editor flying height to 200.00 at 0.00
- Wait 3.00 game-time seconds
- Animation - Change escapers2Editor flying height to 50.00 at 0.00
-
Else - Actions
- Custom script: call RemoveLocation(udg_JPoint)
- Custom script: call RemoveLocation(udg_JPoint2)
- Animation - Change escapers2Editor flying height to 0.00 at 0.00
- Unit - Remove Jump from escapers2Editor
- Unit - Turn collision for escapers2Editor On
- Trigger - Turn on Dirt <gen>
-
If - Conditions
-
Events