Plugin to make playing pictures one after another easier

So after my last Forum post i succesfully figured out that I can play picture after picture in a parallel Common Event to have a constant animation visible. Now i realize that manually setting up each frame with a certain wait period in between is very daunting, especially since the animation has 71 frames and I have multiple others.
Something like this:

If: AnimationSwitch is ON
Loop
Show Picture: #1, frame000, Center (624,424), (100%,100%), 255, Normal
Wait: 3 frames
Show Picture: #1, frame001, Center (624,424), (100%,100%), 255, Normal
Wait: 3 frames
etc.

I thus wonder if there's some easier way to play that many pictures one after another or if there's a plugin that speeds up the process, where you, say, highlight all the images you want to involve in the animation, the wait time in between them and the position, since the position always stays the same.
There's no plugin that can do eventing for you and plugins can not alter the way the editor behaves.

And what you want to accomplish seems easily doable. Just copy paste the commands, change the selected image, and that's it.

If you have a lot of things like that, you may also want to consider just using a video plugin perhaps.
You can simplify your loop by using one script to show all your pictures. Here is an example:

Combine Variables.png

You can have a Variable for PictureName and then use 2 other Variables to combine into the PictureName. So in my example above, Variable 6 would be a value of say "frame" and then the other Variable is set to 1. So when you combine them, they are "frame1" for the actual Show Picture ID.

Then you just increment the second Variable by 1 in your loop and you can have a Conditional Branch check so if you reach the end of your frames, say 71, you just reset the second Variable back to 1 and it keeps repeating until you stop it.

So in my example above, $gameVariables.value(2) is in place of where the normal Picture name would go.

Someone just helped me learn how to do this recently and it has been tremendously helpful.

I hope that makes sense. It really is pretty easy once you understand it and experiment a bit.

EDIT: But setting Variable 2 in my example above isn't inside the Loop. You do that first, then the Loop.

EDIT EDIT: So here is what it would look like:

Declare your Variable for "frame"
Declare your Variable for the # that will be increased
Declare your Variable for the combined 2 Variables
Loop
Show Picture Script
Wait
Increase Variable for the # by 1
If Variable for # = 72 then reset the Variable to 1
Repeat

I believe that will work for you unless I am misunderstanding something.
You can simplify your loop by using one script to show all your pictures. Here is an example:

View attachment 296592

You can have a Variable for PictureName and then use 2 other Variables to combine into the PictureName. So in my example above, Variable 6 would be a value of say "frame" and then the other Variable is set to 1. So when you combine them, they are "frame1" for the actual Show Picture ID.

Then you just increment the second Variable by 1 in your loop and you can have a Conditional Branch check so if you reach the end of your frames, say 71, you just reset the second Variable back to 1 and it keeps repeating until you stop it.

So in my example above, $gameVariables.value(2) is in place of where the normal Picture name would go.

Someone just helped me learn how to do this recently and it has been tremendously helpful.

I hope that makes sense. It really is pretty easy once you understand it and experiment a bit.

EDIT: But setting Variable 2 in my example above isn't inside the Loop. You do that first, then the Loop.

EDIT EDIT: So here is what it would look like:

Declare your Variable for "frame"
Declare your Variable for the # that will be increased
Declare your Variable for the combined 2 Variables
Loop
Show Picture Script
Wait
Increase Variable for the # by 1
If Variable for # = 72 then reset the Variable to 1
Repeat

I believe that will work for you unless I am misunderstanding something.
Thanks so so much! That worked really well. The only thing I had to change was that the Picturename Variable had to be updated each time you increase the # Variable. I also had to introduce anothe variable dependent on the # to make the "000" appear instead of "0". But apart from that, this really really helped. Thanks! I'll give you a subscribe for that.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-make-playing-pictures-one-after-another-easier.166195/