Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
Original title: Problem with script calling Show Picture with Wait Command in a While Loop
Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support
Summary
Hello, I've run into a weird problem. I am trying to script call using the show picture command and the wait command in a while loop so that I can animate the player. I figured out how to code it, but it doesn't run like it's supposed to. The screenshot shows the code in question. It's supposed to show the image, wait 5 frames, show the next image, etc. In total, it should be showing 90 images. The files are all named correctly (i.e. "Player0_010", "Player0_011". "Player0_012", etc.) and are...
Archived First Post
Hello, I've run into a weird problem. I am trying to script call using the show picture command and the wait command in a while loop so that I can animate the player. I figured out how to code it, but it doesn't run like it's supposed to.
The screenshot shows the code in question. It's supposed to show the image, wait 5 frames, show the next image, etc. In total, it should be showing 90 images.
The files are all named correctly (i.e. "Player0_010", "Player0_011". "Player0_012", etc.) and are all there, and there is no error popping up, but when this script executes, it jumps to the last picture ("Player0_099") immediately without going through the other ones. I've tested it doing it with event commands (a lot more time it takes and it looks a lot messier) and it works fine, but it doesn't work correctly when using the script event command. Is there something I'm missing?
If anyone could test this out, and see if you get the same problem, it will be much appreciated. I'm thinking it may just be a bug. Before you ask, yes, I turned OFF all my plugins and did it in a clean project with the same problem. If you need more info, I'll be happy to provide it.
Protected download
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.