Jump to content

Recommended Posts

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?

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.

  • Like 1
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.

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
×
  • Create New...