RPGMaker MV latest version.
I have several CEs set up to award experience to the party, CEs which are called from events completing quests. Each CE awards a different amount of experience: 100, 200 etc to 1000.
I want every party member currently discovered in the game to get the experience (you start out solo, and gain up to five allies as you explore the world).
I tried just using
but that doesn't do anything.
I tried using
but that gives the XP to all six possible party members, by name when the level up message is displayed, even if you haven't discovered them yet.
So I've gone with what's in the following screenshot (character names redacted):
Surely there's a better way?
Also, is there a library of MV scripts anywhere? That would be really helpful!
Cheers
~M~
I have several CEs set up to award experience to the party, CEs which are called from events completing quests. Each CE awards a different amount of experience: 100, 200 etc to 1000.
I want every party member currently discovered in the game to get the experience (you start out solo, and gain up to five allies as you explore the world).
I tried just using
Code:
$gameParty.gainExp(1000);
I tried using
Code:
$gameActors.actor(1).gainExp(1000);
$gameActors.actor(2).gainExp(1000);
$gameActors.actor(3).gainExp(1000);
$gameActors.actor(4).gainExp(1000);
$gameActors.actor(5).gainExp(1000);
$gameActors.actor(6).gainExp(1000);
So I've gone with what's in the following screenshot (character names redacted):
Surely there's a better way?
Also, is there a library of MV scripts anywhere? That would be really helpful!
Cheers
~M~