MOSprite:SetNextFrame

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxSetNextFrame( * None. )
Description:
Hard-sets the frame this sprite is supposed to show, to the consecutive one after the current one. If currently the last fame is this will set it to the be the first, looping the animation.
ReturnsWhether the animation looped or not with this setting.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools