[XP] Sync Character Levels?

Started by Makoto77, March 18, 2020, 07:04:46 pm

Previous topic - Next topic

Makoto77

I'm making a game right now, and the characters are able to transform. However, I need to sync the Level between the transformed character and the untransformed one. How can I do this?

KK20

Would help to know how you are handling transformations.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Makoto77

The character would theoretically (It's not yet fully implemented) use a skill that triggers a common event that transforms them. Each one has a different skill, and each one would have a different common event (to account for different characters transforming)

KK20

So...are you handling the transformation by removing the actual actor and adding a "transformed" actor? You can just store the actual actor's Level to a variable (Control Variables... -> Set -> Actor's Level) and then 'Change Level...' of the transformed actor by setting it equal to that variable.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Makoto77

March 19, 2020, 12:53:16 pm #4 Last Edit: March 19, 2020, 03:13:17 pm by KK20
Oh, thanks! I think I might do the opposite, actually, as the "base" actor is not fit for combat, and the transformed one is more for combat.

Will this work with multiple transformations?

KK20

Why would it not? How about you try it out and report your findings.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Makoto77

The problem is I don't fully understand how. I'm trying to do it but IDK really.