From Runes of Magic Wiki - The Runes of Magic
Sol.animation.AnimateImage = function(addonName, frame, images, fps, onUpdateFnName)
Animates a series of images
Note: This uses Sol.timers.ScheduleTimer. Please see the notes for that
function as they pertain to this one, as well.
Parameters:
+ addonName - Your addon's name
+ frame - Frame to fade
+ images - A list of texture paths
+ fps - How many frames per second to use for the animation
Defaults to Sol.constants.DEFAULT_FPS
+ onUpdateFnName - The name of the OnUpdate handler to use (optional)
Defaults to <addonName>_OnUpdate
Returns:
+ true if the animation was setup successfully; else false
Post:
+ Calls frame.SetTexture for each image in the list; creates an image animation