Code: Select all
LoadAnim(1,"Hollywood:MUIRoyale/Examples/Hollywood/Anim/Amy_Walks.anim")
DebugPrint("Original delays:")
For i=1 To 3
DebugPrint("Delay of frame "..i..":",GetAttribute(#ANIM,1,#ATTRFRAMEDELAY, i))
Next
DebugPrint("After removing the first frame:")
ModifyAnimFrames(1,-1,1)
For i=1 To 3
DebugPrint("Delay of frame "..i..":",GetAttribute(#ANIM,1,#ATTRFRAMEDELAY, i))
Next
Original delays:
Delay of frame 1: 0
Delay of frame 2: 16
Delay of frame 3: 16
After removing the first frame:
Delay of frame 1: 0
Delay of frame 2: 16
Delay of frame 3: 16
I tried to remove the first frame which has a delay of 0. One would think that the second frame would become as the first frame and maintain its own delay. Instead of that the original frame delays stick at the original frame positions no matter what you remove in between.