public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MV Plugin Support: How to Refer to the Actor ID of the Character Who Called the Common Event from Yanfly Main Menu Actor Events?

BMM Archive · July 15, 2026

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: MV Plugin Support: How to Refer to the Actor ID of the Character Who Called the Common Event from Yanfly Main Menu Actor Events?
  • Original author: DarrelOdin
  • Original date: August 26, 2024
  • Source thread: https://forums.rpgmakerweb.com/threads/plugin-support-how-to-refer-to-the-actor-id-of-the-character-who-called-the-common-event-from-yanfly-main-menu-actor-events.171434/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

Hello all! I've hit a bit of a stumbling block in my main menu efforts, and was hoping someone might be able to provide some guidance so I don't end up brute-forcing the result. Game Concept: Etrian Odyssey esq setup, where the player can recruit their own guild of characters (around 30~ or so). My goal: Create an option in the Main Menu that selects a party member, runs a common event that they checks their class before displaying/taking them to a specific map for leveling skills for them and...

Archived First Post

Hello all! I've hit a bit of a stumbling block in my main menu efforts, and was hoping someone might be able to provide some guidance so I don't end up brute-forcing the result.

Game Concept: Etrian Odyssey esq setup, where the player can recruit their own guild of characters (around 30~ or so).

My goal: Create an option in the Main Menu that selects a party member, runs a common event that they checks their class before displaying/taking them to a specific map for leveling skills for them and their specific class [I am not using the skill purchase plugin because I'm utilizing a system to upgrade skills using the skill mastery plugin as well, and I wanted to try an alternative method anyway].

The Plugins utilized for this:
View attachment 316016
  • The button has been set up (currently showing false for some other testing). Actors have been set up to call the correct common event, and I have verified that it functions (i.e. a simple 'Hello World' message being printed).
The Question: When utilizing the above, how can I refer to the actor who triggered the common event? Is it possible when utilizing menus? I.e. I select the 'Consumption' option in the menu and 'Jessie' who would be Actor 4 in my game - is there some call I can make to grab that id value in the common event that was just triggered?

My Worst Case Scenario: I generate 30 clones of the same common event, point each actor to a unique one, write some code to store variables and go from there. That just hurts my coding soul to do, however, so I thought I'd ask in case I was missing an obvious answer.

Thank you!

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

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.

#039#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar