[Solved] Recovery on level up

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
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
'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,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
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.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top