I want this code for rpg maker mz.
MZ What is the code for giving experience to the entire group?
Javascript/Plugin Support
JavaScript:
$gameParty.members().forEach(function(member){
if (member.isAlive()){
member.gainExp(amount);
}
});
Worked man! Thanks! One more question... Do you now how to disable level up notification outside battle?
For that you will need a plugin:
I'm not sure it will work in MZ, but in MV works great, and changes in code are not so big, so it should work as well.
JavaScript:
Game_Actor.prototype.displayLevelUp = function(newSkills) {
return;
};
I'm not sure it will work in MZ, but in MV works great, and changes in code are not so big, so it should work as well.
Worked man! You are a hero!
Original thread: https://forums.rpgmakerweb.com/threads/what-is-the-code-for-giving-experience-to-the-entire-group.139814/