- Joined
- Dec 25, 2018
- Messages
- 110
This trigger played animation of Captain's drinking correctly, that changed after I based ability on Channel.
Animation names don't seem to work for this animation, this is why I am using trigger.
Animation names don't seem to work for this animation, this is why I am using trigger.
-
Heal
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to channel
-
Actions
- Custom script: local unit udg_Caster
- Set Caster = (Triggering unit)
- Animation - Reset Caster's animation
- Custom script: call SetUnitAnimationByIndex(udg_Caster,3)
- Animation - Change Caster's animation speed to 220.00% of its original speed
- Wait 0.85 seconds
- Sound - Play StrongDrinkTarget1 <gen> at 100.00% volume, attached to Caster
- Wait 2.15 seconds
- Animation - Change Caster's animation speed to 100.00% of its original speed
- Animation - Play Caster's stand animation
- Custom script: set udg_Caster = null
-
Events