View Single Post
06/23/17, 01:39 AM   #5
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Hi.

You have to look at the ANIM_MANAGER:

There are fade animations already. You could register to OnStop of the timeline to do SetHidden.

Or you can do nearly everything on your own. Like this:
Lua Code:
  1. local timeline = ANIMATION_MANAGER:CreateTimelineFromVirtual("ZO_TreeOpenAnimation")
  2. local anim = timeline:GetFirstAnimation()
  3. anim:SetUpdateFunction( function(animation, progress) d(progress) end)
  4. anim:SetEasingFunction(ZO_EaseOutQuadratic)

You may do a text search for ANIM_MANAGER or GetAnimationManager()
  Reply With Quote