Jump to content

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


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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
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
 Share

×
  • Create New...