• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Drinking animation not working anymore after basing ability on Channel.

Status
Not open for further replies.
Level 5
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.
  • 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
Is there a way to fix it?
 
Level 5
Joined
Dec 25, 2018
Messages
110
upload_2019-3-5_15-43-51.png
upload_2019-3-5_15-44-13.png
 
Level 7
Joined
Apr 17, 2017
Messages
316
Follow Through Time repeats the same animation whether you delete the animation name or not. As your event is begins casting an ability which will fire the moment you click on the ability. Possible solutions:
1) Change follow through time to 0.00 and casting time to 1.30 this will fix your animation issue but you wont be able to disable other abilities during this time.
2) change your event to starts effect of an ability
 
Level 5
Joined
Dec 25, 2018
Messages
110
Still doesn't work... :(
Easiest solution would be to just put animation names, but 'stand,fourth', 'stand,4' etc doesn't work for some reason...
 
Status
Not open for further replies.
Top