SHI_YE

How to save a mod character's level like wx78 when i change to another?

Recommended Posts

SHI_YE    0

I added a mod character and it has its own level like wx78.I know how to save its level when I use it,but when I change to another character the old data of previous character is gone.So how to save the character's data of a user even if he changes to another character?

Share this post


Link to post
Share on other sites
Monti18    29

You need to use the functions SaveForReroll and LoadForReroll. Have a look at them in the game files, they are called when used with multiplayer portal. You will need to save them to a variable in the new player and add a AddPlayerPostInit so that the variable is saved if you exit the game being another character.

Share this post


Link to post
Share on other sites
SHI_YE    0
22 minutes ago, Monti18 said:

You need to use the functions SaveForReroll and LoadForReroll. Have a look at them in the game files, they are called when used with multiplayer portal. You will need to save them to a variable in the new player and add a AddPlayerPostInit so that the variable is saved if you exit the game being another character.

Okay THX.I'll try it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now