Turn MP Off and then On again

G'day everyone! Working on my first game, bit of a learning curve so would really appreciate some pointers!
It bothers me that characters have MPs from he outset, when neither of them have skills using them.
on Level 3. they'll learn their 1st spell, and it would be ideal if I could introduce MP and show gauge then.
I can hide it with Skill Core Plugin... but how does one bring it back?
Any pointers appreciated thank you!
Put "<Swap Gauge 2: Null>" into the notebox of a state. At the beginning of your game put the state on your party members. Then you can use another plugin that runs common events after battles and have that event check for the character's level and remove the state.
Or you can go to the class for the characters, set the MP to 0 for levels 1 and 2, then give them MP starting at level 3.
Put "<Swap Gauge 2: Null>" into the notebox of a state. At the beginning of your game put the state on your party members. Then you can use another plugin that runs common events after battles and have that event check for the character's level and remove the state.
Make that state Passive (Auto Passive States) with the criteria that your max MP is < 1 and then while anyone has no spells, make it so they also have 0 Max MP, such as what @bgillisp pointed out.
Or you can go to the class for the characters, set the MP to 0 for levels 1 and 2, then give them MP starting at level 3.
Thank you, but I think the MP gauge still shows in that case. I'll try using the plugin as suggested by kirb
Put "<Swap Gauge 2: Null>" into the notebox of a state. At the beginning of your game put the state on your party members. Then you can use another plugin that runs common events after battles and have that event check for the character's level and remove the state.
Thank you, I understand the logic but am not familiar with the plugin that gets the second part done
I'll try using the plugin as suggested by kirb
One thing to note is that my solution doesn't care about whether you know a spell but whether you have the capability to hold MP. Using an MP Up on someone with no MP will make the bar show up, for instance. On the flipside, teaching a character a skill through events that costs MP won't make the bar show up.

Thank you, I understand the logic but am not familiar with the plugin that gets the second part done
Yanfly has one, but I think Passive States does this job easier. Note that you might also need some plugin (don't recall which, but again Yanfly has one) that allows the state to exist on dead party members.
One thing to note is that my solution doesn't care about whether you know a spell but whether you have the capability to hold MP. Using an MP Up on someone with no MP will make the bar show up, for instance. On the flipside, teaching a character a skill through events that costs MP won't make the bar show up.


Yanfly has one, but I think Passive States does this job easier. Note that you might also need some plugin (don't recall which, but again Yanfly has one) that allows the state to exist on dead party members.
Thanks for following up! As long as it does the trick it doesn't really matter what the trigger is. It's my first game and I m just learning so keeping things very streamlined. Does it have to remain active on KO characters, because otherwise MP will show when they die?
Mhh... I actually really need it to show when the player learns a new skill, so it's LVL independent
This is what I have done:
Created a state called No MP: added the following tags
<Swap Gauge 2: NONE>
<Passive Condition: Switch 31 OFF>

Now when switch 31 turns on, the state should be removed? But it doesn't work...

I have done the same thing using low HP as a condition... and it works?? 😮

UPDATE: Using Variables or Switch as a condition only works after I take a number of steps... that's even stranger
UPDATE: Using Variables or Switch as a condition only works after I take a number of steps... that's even stranger
Do you have the newest version of MV? Do you have the most updated version of the plugin? Are you loading from a save file or new game each test? This is definitely bizarre.

I actually really need it to show when the player learns a new skill, so it's LVL independent
With Lunatic Mode, you can set it to hide if level is low enough (user.level < 3). I just wasn't sure if the characters would have MP before the correct level, be able to gain MP from elsewhere, or be able to gain MP costing skills from elsewhere.
And you know the strangest part of all is? After a while and without me changing any settings it just started working normally: triggering immediately. Thanks the help kirb 🙂
Glad to hear. In fact, I might steal your idea 😉
Glad to hear. In fact, I might steal your idea 😉
Ahah please do:the world is open ended!

Original thread: https://forums.rpgmakerweb.com/threads/turn-mp-off-and-then-on-again.114315/