Showing actor levels and exp?

Let me start with: I wasn't sure where to put this, so I just chose the RPG Maker I use: MV.

So, I wanted to have a system sort of like Ness's dad from Earthbound in my game, in that I want the player to be able to talk to a character and they will say what level each actor is at and how much exp is left until the next level.

Is this even possible?
control variable - game data section to load info into variables and then just text codes in show text commands after that.
control variable - game data section to load info into variables and then just text codes in show text commands after that.
Thank you! I'll try this out tomorrow and tell you how it goes
Note that this gives you options for current level and current EXP, but not "exp to next level". Here are some examples you may find helpful:
  • Control Variables > Script: $gameActors.actor(1).nextLevelExp()
    Total experience required for next level, for actor ID 1.
    Change the 1 to reference a different actor.

  • Control Variables > Script: $gameParty.members()[0].nextLevelExp()
    Total experience required for next level, for party member index 0 (i.e. the leader).
    Change the 0 to reference a different member (1 = second member = first follower, etc).

  • Control Variables > Script: $gameParty.members()[2].nextRequiredExp()
    Additional experience required to reach next level, for party member index 2 (second follower).
Note that you can also use Control Variables > Game Data > Other > Party Members to get the number of members currently in the party. This may be helpful if your party can vary in size: you can check the size using Conditional Branch commands and display different messages based on how many members are present. 🙂
I've changed my mind on this due to realizing the menu itself tells you how much exp you have left. Thread closed.

Original thread: https://forums.rpgmakerweb.com/threads/showing-actor-levels-and-exp.128635/