Synched Level-Up (not same level)

***MOD NOTE: Please Note this thread is several years old!! It is not a current Help topic.***

I am looking for a way to level up party members as the main character levels up. Not, matching levels, but matching "leveling up".


Let me illustrate:


NOW


Hero is currently level 10.


NPC1 in Party is currently level 3.


NPC2 (not yet in Party) is currently level 6


THEN:


Hero levels up to level 11 (+1), which results in NPC1 instantly leveling up to level 4 (+1), and NPC2 (who hasn't even joined the party yet, but when he does) instantly levels up to level 7 (+1). In other words, a persistent leveling of all party characters (present and future), based on the levels leveled up of the main character only. Every time the main character gains a level, so do ALL the NPC's.


I assume it would be ridiculously tedious to have an NPC level up who isn't a member of the party, but to "mimic" that, it would be easier to formulate, that when an NPC does join, the math is done then (with the "show" disabled, so we don't get a dozen level up spam messages).


So, what do you guys think? Thanks!
Assuming you're still giving EXP out for battles or anything else, I believe you would need a plugin to do this.  The plugin would basically iterate through every actor in the game as part of the level up method (if the character leveling up is the main charater) and simulate the "Change Level" event command (you can find the script call in Archeia's "Script Calls" topic for MV).  Not terribly hard for any scripter to do.


On the other hand, assuming you are directly leveling up your main character using events (rather than giving them XP), you could do it with eventing alone - just choose every actor in your game (not 'entire party', but literally every actor, one at a time) and use the Change Level +1 event command on each.
Thanks.  Yes, I should have specified, it was exp-based, otherwise, just selecting each actor individually would definitely be the answer (and easiest).  I don't see an equivalent where all-actors level up each time the main character does in the script list...  I must be tired...

Assuming you're still giving EXP out for battles or anything else, I believe you would need a plugin to do this.  The plugin would basically iterate through every actor in the game as part of the level up method (if the character leveling up is the main charater) and simulate the "Change Level" event command (you can find the script call in Archeia's "Script Calls" topic for MV).  Not terribly hard for any scripter to do.


On the other hand, assuming you are directly leveling up your main character using events (rather than giving them XP), you could do it with eventing alone - just choose every actor in your game (not 'entire party', but literally every actor, one at a time) and use the Change Level +1 event command on each.
Also by events you could make a custom EXP value, then raise it by eventing too. Maybe random encounter monsters gift you with items that raise that EXP value. Or if you're putting map encounters as events then all you need is to put the EXP giving inside the victory condition. Same for bosses.


Then each time you raise that EXP value, you call a common event that calculates how much experience your character needs (level**x + something, i.e.). And throw in a conditional, if the EXP value is higher than that calculated thing before substract the amount and raise levels to everyone!


Anyway.
Try this

View attachment MainActorLvUp.js
exactly what i needed! thanks
Excuse me senpai. Can u tell me how to use it?. I am new at rpg maker.can u tell me?
Excuse me senpai. Can u tell me how to use it?. I am new at rpg maker.can u tell me?
It was 4 years ago, so I am not sure but it looks like it meant to add levels to new NPC joined to your party as many levels you gained for your main character which you specified it in the plugin by his ID.

So, you dont need to do anything other than enable the plugin and specify which main character.

Unless you mean how to enable plugins?!!!!!
Unless you mean how to enable plugins?!!!!!
No. I mean its need following sequence like yanfly battle sequences plugin or something like that?.

i actually i just want know"how to get instant level up for my mc? ".

Also i want to know(if u dont mind to tell me) ,how if an actor join my party and that actor will have same lvl with mc
No. I mean its need following sequence like yanfly battle sequences plugin or something like that?.

i actually i just want know"how to get instant level up for my mc? ".

Also i want to know(if u dont mind to tell me) ,how if an actor join my party and that actor will have same lvl with mc
it doesn't need any plugin to make it work.
What I understand from you, you want to make anyone joined your party will have same level as yr main character, you don't need plugins for that, you can just make event for that by using this script
$gameActors.actor(Id of new joined character).changeLevel($gameActors.actor(Id of yr main character)._level);
$gameActors.actor(Id of new joined character).changeLevel($gameActors.actor(Id of yr main character)._level);
So i just need copy and put them to event? Thanks for answering my question i really appreciate it.
So i just need copy and put them to event? Thanks for answering my question i really appreciate it.
something like this
Screenshot_80.png
@reginaldbrown912 Please do not post in help/support topics that over (approximately) a month old. Often members see a post near the top of the board and miss that the original question was from years ago, as you can see happened here, and it creates a lot of confusion.

(If you have the same question and it wasn't answered completely, just start a new thread, and link back to the old topic if you need to. If you just want to thank someone for being helpful in an old topic you found, a "Like" or a PM are great ways to do it. 🙂 )

Since additional conversation has already taken place from multiple members I am not going to close this thread.
T
Really thanks. hope u have nice day

Original thread: https://forums.rpgmakerweb.com/threads/synched-level-up-not-same-level.61566/