Back to Home

ESO Lua File v100017

app/loadingscreen/keyboard/loadingscreen.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
local LoadingScreen_Keyboard = {}
function LoadingScreen_Keyboard:InitializeAnimations()
    self.spinnerFadeAnimation = GetAnimationManager():CreateTimelineFromVirtual("SpinnerFadeAnimation")
    self.spinnerFadeAnimation:GetAnimation(1):SetAnimatedControl(LoadingScreenBg)
    self.spinnerFadeAnimation:GetAnimation(2):SetAnimatedControl(LoadingScreenSpinner)
    self.animations = GetAnimationManager():CreateTimelineFromVirtual("LoadingCompleteAnimation")
    self.animations:GetAnimation(1):SetAnimatedControl(LoadingScreenArt)
    self.animations:GetAnimation(2):SetAnimatedControl(LoadingScreenTopMunge)
    self.animations:GetAnimation(3):SetAnimatedControl(LoadingScreenTopMunge)
    self.animations:GetAnimation(4):SetAnimatedControl(LoadingScreenBottomMunge)
    self.animations:GetAnimation(5):SetAnimatedControl(LoadingScreenBottomMunge)
    self.animations.control = self
end
function LoadingScreen_Keyboard:IsPreferredScreen()
    return not IsInGamepadPreferredMode()
end
function LoadingScreen_Keyboard:GetSystemName()
    return "LoadingScreen"
end
    zo_mixin(control, LoadingScreen_Base, LoadingScreen_Keyboard)
end