ingame/deathrecap/deathrecap.lua:102 -- self.attackPool:SetCustomFactoryBehavior(function(control)
control.timeline = ANIMATION_MANAGER:CreateTimelineFromVirtual("ZO_DeathRecapAttackAnimation")
local nestedTimeline = control.timeline:GetAnimationTimeline(1)
local iconTexture = control:GetNamedChild("Icon")
local styleContainer = control:GetNamedChild("SkillStyle")
local textContainer = control:GetNamedChild("Text")
for i = ICON_ANIMATION_START_INDEX, ICON_ANIMATION_END_INDEX do
local animation = nestedTimeline:GetAnimation(i)
animation:SetAnimatedControl(iconTexture)
end
for i = STYLE_ANIMATION_START_INDEX, STYLE_ANIMATION_END_INDEX do
local animation = nestedTimeline:GetAnimation(i)
animation:SetAnimatedControl(styleContainer)
end
nestedTimeline:GetAnimation(TEXT_ANIMATION_INDEX):SetAnimatedControl(textContainer)
if not nestedTimeline.isKillingBlow then
for i = COUNT_ANIMATION_START_INDEX, COUNT_ANIMATION_END_INDEX do
local numAttackHitsContainer = control:GetNamedChild("NumAttackHits")
local animation = nestedTimeline:GetAnimation(i)
animation:SetAnimatedControl(numAttackHitsContainer)
end
end
end)