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
71
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
539
Reaction score
386
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,132
Reaction score
706
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
71
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 Profile Posts

image_2021-06-13_213812.png

Todays Lesson: Tiles are a pain to make xD
The game is not even 2% complete, but i just wanted to release something for funsies. :)
It's on my google drive.
It would be awesome if i could get a couple ideas and the like!
So yesterday Dad took me to Volcano Bay, and it was almost ruined by a thunderstorm... then it passed by and the lightning warning got lifted, leading to an awesome time sliding and swimming. Hopefully we get to go to the arcade tonight. The one we're planning on has a restaurant built in with AWESOME food. Not to mention how big the arcade itself is!
image_2021-06-13_150033.png

Maybe I'll actually try making a retro pack. Already have the shark fin made so why not xD
Hey everyone, for everybody following along with my RPG Maker MZ streams: There will unfortunately not be a stream tonight. There is a big exciting event that will go live next week that has been taking all my time, so look forward to that!

Forum statistics

Threads
112,197
Messages
1,066,524
Members
145,805
Latest member
Amber22
Top