ModDota / BugTracker

Listing bugs for Dota 2 Custom Games
9 stars 1 forks source link

MODIFIER_PROPERTY_OVERRIDE_ANIMATION does not have an effect when applied in specific conditions #32

Open DoctorGester opened 7 years ago

DoctorGester commented 7 years ago

MODIFIER_PROPERTY_OVERRIDE_ANIMATION does not override the animation if it's applied shortly (in a span of 2 server ticks) after the previous modifier with that property has been removed from a unit.

This is also officially documented in animations.lua part of the barebones library: https://github.com/bmddota/barebones/blob/source2/game/dota_addons/barebones/scripts/vscripts/libraries/animations.lua#L30-L31

robincodex commented 7 years ago

I have been using CDOTA_BaseNPC:StartGesture() CDOTA_BaseNPC:StartGestureWithPlaybackRate() CDOTA_BaseNPC:RemoveGesture()

DoctorGester commented 7 years ago

This is a very different set of function behavior-wise.