MV YEP_PictureSpritesheet only works with script calls, not plugin commands?

Hello, JS experts!

I'm having an interesting situation with Yanfly's PictureSpritesheet plugin.

For context, I'm using it to show some of the sideview battler animations/sprites on the map for cutscenes. However, when it comes to actually calling different frames of the spritesheet, it seems to only work when I use a script call, not a plugin command? (As someone who's not particularly knowledgeable with JavaScript, I would vastly prefer to use a plugin command if possible)

I set up two events to try this out, and they are identical other than what they're using to execute the task:
1720277299683.png

1720277331355.png


When I playtest the Script Call event, it works fine - the image cycles through the frames as expected. But the plugin command version only shows me the first frame.

Any idea what I'm doing wrong here? Thanks!

[Edited to add link to plugin, thanks ATT_Turan]

So after a QUICK check, course I've got to shoot off to work now.

The reason why the script calls work is because that's what the plugin intended for it.
Per the section guidelines, please provide links to the plugins you're asking for help with.

I'm very surprised you see anything with either of the above.

Events try to execute as fast as possible. You're telling the picture to change between frames basically instantaneously, and because of the loop, continuously. So it's happening too fast for you to actually see anything. You need to put Wait commands in between.

The reason why the script calls work is because that's what the plugin intended for it.
What is that supposed to mean? The plugin commands the OP is using are provided by the plugin as how to use it.
1720278846084.png
Per the section guidelines, please provide links to the plugins you're asking for help with.

I'm very surprised you see anything with either of the above.

Events try to execute as fast as possible. You're telling the picture to change between frames basically instantaneously, and because of the loop, continuously. So it's happening too fast for you to actually see anything. You need to put Wait commands in between.


What is that supposed to mean? The plugin commands the OP is using are provided by the plugin as how to use it.
View attachment 310594

I added the wait commands (and also used different poses to make it more obvious), but the plugin command version still only shows me the first frame 🙁
Also, this is probably outside the scope of this thread, but... would it be easier to accomplish this with the in-game animation engine? That uses spritesheets too, couldn't i just load up the SV battler image as an animation and then define the frames that way?
I don't know what to tell you, outside of making a test project and poking at it myself.

The plugin command - as expected - literally calls the same function that you're doing manually.

1720281588076.png


I see no reason it wouldn't work as you have it.

would it be easier to accomplish this with the in-game animation engine? That uses spritesheets too, couldn't i just load up the SV battler image as an animation and then define the frames that way?
No. If you read MV's instructions - Help -> Contents -> Documentation -> Asset Standards - the format of an animation spritesheet is different from an SV battler spritesheet.

Could you use an image editor to convert a battler into an animation and do whatever you're doing that way? Absolutely. But you can't just open a battler sheet as an animation.
Also, this is probably outside the scope of this thread, but... would it be easier to accomplish this with the in-game animation engine? That uses spritesheets too, couldn't i just load up the SV battler image as an animation and then define the frames that way?

Yeah if you can't get the plugin to work you can use in game event commands to trigger it.

Per the section guidelines, please provide links to the plugins you're asking for help with.

I'm very surprised you see anything with either of the above.

Events try to execute as fast as possible. You're telling the picture to change between frames basically instantaneously, and because of the loop, continuously. So it's happening too fast for you to actually see anything. You need to put Wait commands in between.


What is that supposed to mean? The plugin commands the OP is using are provided by the plugin as how to use it.
View attachment 310594
It was a quick scour over on my part, thought OP was trying to use script commands via Plugin.

Original thread: https://forums.rpgmakerweb.com/threads/yep_picturespritesheet-only-works-with-script-calls-not-plugin-commands.170080/