Status
Not open for further replies.

Khaz

Learning Game Maker
Veteran
Joined
Dec 11, 2012
Messages
44
Reaction score
6
First Language
Finnish
Primarily Uses
RMVXA
Hello.

I've been searching for a script for a while now that recovers your character HP and MP upon leveling up, however all I found were MV plugins really. I tried to see whether it was doable without scripting ( like via common events, but I couldn't really think of how to go about it, since conditional branches don't have anything along the lines of "If [character] level [increases], then y happens".

Does a script exist that does this or is is doable without scripts?

Thank you in advance.
 
Last edited:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
23,598
Reaction score
13,391
First Language
English
Primarily Uses
RMMZ
'Scripts' is where people who have written completed scripts they want to share with others can post them.

[move]RGSS3 Script Requests[/move]
 

Khaz

Learning Game Maker
Veteran
Joined
Dec 11, 2012
Messages
44
Reaction score
6
First Language
Finnish
Primarily Uses
RMVXA
I thought so, but I wasn't 100% sure. Sorry about that and thank you for moving it where it should be.
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,952
Reaction score
754
First Language
German
Primarily Uses
RMMZ
levelup.PNG
This could be a possible Solution for you, or atleast something to get you started.

EDIT: I have a big mistake in the Picture i will reupload it!!!!
Edit2: I cant i forgot to safe the code =).
You need one Variable for each actor: Actor001 Prior Variable
in the Block for Nathalie i used Erics Variable for Prior Level, i should have used an extra one for Nathalie. Iam sure you can fix that yourself.
Edit3: This sign != means: Not equal
so if players "current level" isnt same as the level safed in the "prior level" variable for the actor, than its hp and mp are restored and the variables changed accordingly.
 
Last edited:

Khaz

Learning Game Maker
Veteran
Joined
Dec 11, 2012
Messages
44
Reaction score
6
First Language
Finnish
Primarily Uses
RMVXA
Thank you, both of you. I decided to go with the script you linked, @Roninator2 but I appreciate that you went out of your way to make that common event as well, @Bex

All is good now and the project may continue. I appreciate your times. :kaohi:
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

oneOfUs.jpg
Streaming more Poppet Quest game even in about 12 minutes.
Some dog owners really impress me. I'm pushing 2-3 metric tons of garbage containers that destroy everything they hit. What do you think is going to happen to your tiny dog when I run it over? And why are you crossing my path to argue with me? Have you never been hit by 200kgs of garbage?

Lesson for you folks. Never mess with an angry garbage container. Or its driver.
I didn't dispose of a file properly and now my whole game won't start: I get a script error in the Scene Manager stage of game launch. What to do? Transfer it all to a new project? That's going to be tedious. Fortunately I am only nine workdays into it.
>< IMGUR!!!! *clenches fist*

Forum statistics

Threads
131,680
Messages
1,222,159
Members
173,425
Latest member
gem1win
Top