Using pictures to create/access NPCs

I am relatively new to the engine and I am currently working on a game project that has some point-and-click mechanics. I want to create a character NPC that I can interact with upon clicking on their designated character icon on screen. I am using the buttonpicture plugin, it lets me link a common event to said picture but the problem with common events I have is that I can't really use (self) switches there, can I? Like I could in regular events with additional event pages. I would like my character to use different event scripts/pages depending on their relationship status dictated by a variable but since common events don't have the option to add multiple event pages, I am kinda at a loss here. I don't understand why the plugin forces me to only use common events and not also "regular" events.
I've read that I could work around that issue by linking multiple common events within common events which will go through some conditional branches/variables

if variable1 = 1
-> proceed with common event 1;
else
use common event 2

(excuse my lack of java-script writing knowledge but I hope you get the point either way)

Now I have also heard that linking common events within common events doesn't always work, so the safest way might be to include all the different dialogue branches and variables within one common event script? Instead of splitting them up in multiple common events?
I am fine with doing that but I am just wondering if there is a more efficient way to work around it.
Any feedback is much appreciated 🙂
You can already click on regular map events that have images. You don't need to be using that plugin if you don't want to be clicking on images that you've created via the Show Images command.

If you want to trigger map events without the character walking over to them, you can use VisuStella's Button Trigger Events (there may be free alternatives that I'm not familiar with).
(I think VS Button Trigger Events is for activating events with keyboard presses. VisuStella Events & Movement Core (free) has the <click trigger> notetag for mouse.)

As for your original question, is there a reason you need to launch common events in the common event? Just use your conditional (in common event 1) as:
if variable X = 1
-> *do stuff*
if variable X = 2
-> *do stuff*
You can already click on regular map events that have images. You don't need to be using that plugin if you don't want to be clicking on images that you've created via the Show Images command.

If you want to trigger map events without the character walking over to them, you can use VisuStella's Button Trigger Events (there may be free alternatives that I'm not familiar with).
(I think VS Button Trigger Events is for activating events with keyboard presses. VisuStella Events & Movement Core (free) has the <click trigger> notetag for mouse.)

As for your original question, is there a reason you need to launch common events in the common event? Just use your conditional (in common event 1) as:
if variable X = 1
-> *do stuff*
if variable X = 2
-> *do stuff*
So I have attached a screenshot here of a "point-and-click" scene where I want the center image (ignore the other 2) to trigger a map event instead of a common event (when clicked with mouse). Is that possible with your mentioned plugins?

@rpgLord69 The only reason why I thought to use common events within common events is to make the script more "readable" I guess since it is a lot of dialogue for said character with all the different relationship levels. I will try following through with your suggestion tho and see how it works. There is a high chance of me just unnecessarily overcomplicating things here. It just bothers me that common events don't have the option to have multiple event pages that I can cycle through using switches/variables but I guess I can just put it on one single event page with conditional branching instead.

Thanks for your input guys
So I have attached a screenshot here of a "point-and-click" scene where I want the center image (ignore the other 2) to trigger a map event instead of a common event (when clicked with mouse). Is that possible with your mentioned plugins?
Again - it's possible without any plugins. You simply make the map event and define that image as its image.

You would need to format the image as a character spritesheet, per the instructions in Help -> Contents -> Documentation -> Asset Standards.

The only purpose of the plugin is to make the event trigger instantly upon click, rather than making the character walk over to be adjacent to it.
You would need to format the image as a character spritesheet, per the instructions in Help -> Contents -> Documentation -> Asset Standards.
How do I change the maximum size of a character spritesheet? The Asset Standards page says that it is 48x48 by default and mentions it can be changed into any size but not how to do so. I apologize in advance if I overlooked that info on Asset Standards.

edit: The final image I want to use for that character will be around 700x1080.
The only purpose of the plugin is to make the event trigger instantly upon click, rather than making the character walk over to be adjacent to it.
Which plugin are you referring to? The Visustella events plugin?
How do I change the maximum size of a character spritesheet? The Asset Standards page says that it is 48x48 by default and mentions it can be changed into any size but not how to do so.
That's the size of one cel on the sheet. You make and resize images using an image editor, such as GIMP.

So for an image to display correctly when assigned to an event, you look at its dimensions, and that's one cel. You then resize the canvas to be 3 x 4 cels and save it with a $ at the beginning of the filename in your img\characters folder.

There may be a plugin to use a comment or notetag to assign an image to an event without making it into a character sheet, but I've never looked for such a thing. You would have to Google it or see if someone else pops in and knows about it.

Which plugin are you referring to? The Visustella events plugin?
Yes, the only plugin I've mentioned is the VisuStella Button Trigger Events, which will allow you to click on a map event and activate it from anywhere on the screen.
Yes, the only plugin I've mentioned is the VisuStella Button Trigger Events, which will allow you to click on a map event and activate it from anywhere on the screen.
Events and Movement Core can do that.

Original thread: https://forums.rpgmakerweb.com/threads/using-pictures-to-create-access-npcs.168171/