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:
local timeline = ANIMATION_MANAGER:CreateTimelineFromVirtual("ZO_TreeOpenAnimation")
local anim = timeline:GetFirstAnimation()
anim:SetUpdateFunction( function(animation, progress) d(progress) end)
anim:SetEasingFunction(ZO_EaseOutQuadratic)
You may do a text search for ANIM_MANAGER or GetAnimationManager()