[SOLVED] Animation issues
Here's my GUI-only version of Jump-trigger:
Base: Healing Ward
Here's my GUI-only version of Jump-trigger:
Base: Healing Ward
- Events:
- Unit - a unit starts the effect of ability
- Conditions:
- Ability being cast equals Leap
- Actions:
- Set leapCaster = Casting unit
- Set leapStart = position of leapCaster
- Set leapFinish = Target point of ability being cast
- Unit - make leapCaster Invulnerable
- Unit - turn collision off for leapCaster
- Unit - Add Crow form to leapCaster
- Unit - Remove Crow form from leapCaster
- Animation - Change leapCaster flying height to 500 rate 700
- Animation - Set leapCaster animation speed to 25%
- Animation - play leapCaster Spell animation
- Unit - Set leapCaster movement speed to Default speed *10
- Unit - order leapCaster to move (leapFinish)
- /*Wait till peak of jump*/
- Wait (((Distance between leapStart and leapFinish)/(Current move speed of leapCaster))/2) sec
- /*Start Landing*/
- Animation - change leapCaster flying height to 0 rate 700
- Wait (((Distance between leapStart and leapFinish)/(Current move speed of leapCaster))/2) sec
- Animation - Set leapCaster anim speed to 100%
- Animation - Reset leapCaster animation
- Unit - set leapCaster move speed to default speed of leapCaster
- /*Make unit vunerable on landing/*
- Unit - make leapCaster vulnerable
- Unit - turn collision on for leapCaster
- /*Clear leaks*/
- Custom Script - call RemoveLocation(udg_leapStart)
- Custom Script - call RemoveLocation(udg_leapFinish)
Last edited: