MZ I found BUG of "PictureButton" in "Common Event"

(I use "Common Event" to add more "PictureButton" of image number 60)
  • When I set image number 60 as button
Images (not buttons) When it's in (This Common Event / set to None) every picture below number 60 can't be displayed
  • I avoided this problem by adding images with events on the map instead, by switch on/off with parallel system
or adding images numbered 60-100 in this common event.


I don't use that many images, but it just ran into issues when I tested the game. Please fix this.

(Windows 11)
(Steam)
@BZnii - I assume you mean the ButtonPicture plugin by Yoji Ojima. It seems OK to me, so for now:

I've moved this thread to Plugin Support (from MZ Feedback). Thank you.

Here is my test event:

◆Show Picture:#60, Actor1_1, Center (408,312), (50%,50%), 255, Normal ◆Plugin Command:ButtonPicture, Set Button Picture : :Picture Number = 60 : :Common Event = 29 ◆Show Picture:#59, Actor1_2, Center (408,312), (100%,100%), 255, Normal ◆Plugin Command:ButtonPicture, Set Button Picture : :Picture Number = 59 : :Common Event = 30
What I see:
  1. Both pictures show.
  2. As usual, picture 60 shows on top of picture 59 because it has a higher ID.
  3. Click where both pictures overlap => trigger both picture events: first 59, then 60.
  4. Click on only picture 59 => trigger only picture 59's event.
(The common events I used for the pictures were simple test events, each with a single Show Text.)
When I make it, I did it like this
(thank you for your example, now I know how to explain it.)

####INSIDE COMMON EVENT 01####
◆Show Picture:#50 (Not Display) (I tried using numbers 1-59 randomly, it didn't display all of this.)
◆Show Picture:#60
◆Plugin Command:ButtonPicture, Set Button Picture:
:Picture Number = 60:
:Common Event = 4
◆Show Picture:#51 (Not Display)
◆Show Picture:#61
◆Plugin Command:ButtonPicture, Set Button Picture:
:Picture Number = 61:
:Common Event = 3
####INSIDE COMMON EVENT 01####

But today.
I tried what you said and replace each number image in, and it worked.

But when I went back to the old project and tried the method that didn't work, it worked fine.

(Maybe because I had to restart the program.) I'm not sure. Thank you very much I'll be more careful.
Good to hear it's working now! Happy RPG Making~

Original thread: https://forums.rpgmakerweb.com/threads/i-found-bug-of-picturebutton-in-common-event.177587/