How do I carry levels between characters? [VX Ace]

MCBill

Warper
Member
Joined
Apr 13, 2021
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMVXA
The game I'm trying to make is separated into multiple parts, and in each part the main character changes too much for it to be the same actor in the database. What I'm wondering is how you could transfer things like levels and items between the characters.
 

Walldeaf

The Event-Master
Veteran
Joined
Apr 29, 2013
Messages
91
Reaction score
70
First Language
Dutch
Primarily Uses
RMVXA
Do you want for the "new" character to be the same level as your "starting" character?

In that case, you can set a variable to the level of the character and have your new character have the same level. This even works with a new class.
 
Last edited:

Dungeonmind

Lvl 4000 Humanoid
Veteran
Joined
Sep 2, 2013
Messages
534
Reaction score
381
First Language
English
Primarily Uses
RMMV
Easy. Just store the current actor id’s level into a variable then once your switching to a new hero you just need to add that variable to the new hero’s level.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,056
Reaction score
684
First Language
English
Primarily Uses
RMVXA
set a variable to the level of the character
store the current actor id’s level into a variable
You also have to subtract 1 from the variable so that when you add the levels it will be the same as the original.
actor 1 is level 15 -> variable = 15
actor 2 is level 1 -> + 15 = 16
This is because the event command is increase not equal to.

transfer things like levels and items between the characters
When you talk about items it may be difficult. If these are inventory items then it is easy, there is no change to the items unless you have actor inventory scripts. If it is equipped items then a script needs to be used to remember all the items the actor has and re-equip them onto the new actor.
the main character changes too much
What is changing? The actor stats? the graphic? Those can be adjusted.
 

Walldeaf

The Event-Master
Veteran
Joined
Apr 29, 2013
Messages
91
Reaction score
70
First Language
Dutch
Primarily Uses
RMVXA
actor 1 is level 15 -> variable = 15
actor 2 is level 1 -> + 15 = 16
This is because the event command is increase not equal to.
This can be changed I believe...
There are more options.
 

Latest Threads

Latest Posts

Latest Profile Posts

I feel so dumb I forgot to set parameters and thought the plugin wasn't working
I can come up with all of the magic skills in the world, but I can hardly think of creative physical weapon skills within the JRPG realm. One of those ones....
It's time for episode 19 of our Make a Cliff Map in RPG Maker MZ... I mean, Make a Game in RPG Maker MZ! Today we're working on our cliff map again. Let's see if we can finish it this time!

A side story is almost getting into the next stage. Almost everything in this game has real-life references.
unfinishedbuildingwip1.jpg
Everyday life is full of absurdity. This is just a reflection.

Forum statistics

Threads
111,410
Messages
1,060,913
Members
144,765
Latest member
tinsel2
Top