Ganelan

Regular
Regular
Joined
May 16, 2020
Messages
35
Reaction score
9
First Language
spanish
Primarily Uses
RMMV
Hello! I expose what I want to know if it can be done. I'm using the Galv plugin from Manual Level Up. Well, this leaves you at 1 EXP when you can level up. But there is no notification when you can level up.

My question is, can you do that, when the actor has 1 EXP left to level up, do an event to notify the player?

I would have to do it for each actor, but doing it for one would be copy and paste for each actor.

With variables is it possible?

Thank you!
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
7,744
Reaction score
3,161
First Language
Dutch
Primarily Uses
RMMV
everything is possible, but it probably require a plugin or a modifaction
to the plugin or addon.

it would be wise to link the plugin you target, so we can take a look at
the correct one without finding it.
 

Htlaets

Regular
Regular
Joined
Feb 1, 2017
Messages
404
Reaction score
217
First Language
English
Primarily Uses
You can do it without plug-ins or a script, but it'd be tedious. Have a common event that runs after combat (many ways to do this, but there are plug-ins that would make it simpler) that checks actor exp (variable = game data = exp of actor). Then check the actors level.

Then for every level you can check how much exp is needed before level up (There's surely a script call that can check that and simplify the process), then find the difference between the exp needed to level up and the current actor exp and then run whatever eventing you want to trigger if it's 1.
 

dopan

Regular
Regular
Joined
Mar 27, 2020
Messages
1,365
Reaction score
731
First Language
German
Primarily Uses
RMMV
JavaScript:
Math.abs($gameActors.actor(1).nextRequiredExp()) + Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp()) - Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())

Actor EXP to Next LV
(=> Actor Max EXP of current LV - Actor current LV EXP)


you can use this code in an if condition, and when result is "1" thats what you are looking for as trigger..
This script code above is for usage on actor with id 1.. for other actors you need to edit the parts where the actor id is located


this code and some more can be found in my signature spoiler where i store the scripts for my srd hudmaker..
the script above is used for the hud that shows the needed exp for the next level up..
 
Last edited:

Ganelan

Regular
Regular
Joined
May 16, 2020
Messages
35
Reaction score
9
First Language
spanish
Primarily Uses
RMMV
JavaScript:
Math.abs($gameActors.actor(1).nextRequiredExp()) + Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp()) - Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())

Actor EXP to Next LV
(=> Actor Max EXP of current LV - Actor current LV EXP)


you can use this code in an if condition, and when result is "1" thats what you are looking for as trigger..
This script code above is for usage on actor with id 1.. for other actors you need to edit the parts where the actor id is located


this code and some more can be found in my signature spoiler where i store the scripts for my srd hudmaker..
the script above is used for the hud that shows the needed exp for the next level up..

It works! Thank you, is just all i wanted!
 

Latest Threads

Latest Posts

Latest Profile Posts

Anybody else do this thing where you go like, "Oooh, so-and-so wud be such a good name for a game!" And then you write it down. And then yo games-to-be-made folder has like, 89 entries wid nothin' but a name?

Just me? :kaoswt:
We've been tricked, we've been backstabbed and we've been, quite possibly, bamboozled.

1695643923498.png

Finally figured out the source of my problems - WindowBase's contentsWidth() doesn't actually return the width of its contents :kaoswt2:
Lies of P. 5/10. It's like Dark Souls if you removed everything great about Dark Souls. It makes me want to replay Dark Souls.
poor Edward has some kind of affliction

ewd.png
Keeping on my crowdfunding page rigging, making gifs to make the wall of text look more sparkly glowy.
Made this one and it made me laugh.

ezgif-4-abff258a04.gif

Forum statistics

Threads
134,790
Messages
1,250,641
Members
177,577
Latest member
ddyxw
Top