Back to Home

ESO Lua File v100018

libraries/globals/animation.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
ANIMATION_INSTANT = true
function ZO_Animation_PlayForwardOrInstantlyToEnd(timeline, instant)
    if instant then
        timeline:PlayInstantlyToEnd()
    else
        timeline:PlayForward()
    end
end
function ZO_Animation_PlayFromStartOrInstantlyToEnd(timeline, instant)
    if instant then
        timeline:PlayInstantlyToEnd()
    else
        timeline:PlayFromStart()
    end
end
function ZO_Animation_PlayBackwardOrInstantlyToStart(timeline, instant)
    if instant then
        timeline:PlayInstantlyToStart()
    else
        timeline:PlayBackward()
    end
end