Announcement

Collapse
No announcement yet.

How to get access a variable from the game instance into the player character in a multiplayer game?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to get access a variable from the game instance into the player character in a multiplayer game?

    EDIT: Changed the title a few times and I see I messed it up. Hope my question is clear enough.

    The player sets some values in the main menu that I want to show up during the action phase. I know that the Game Instance does not replicate so I am doing an Event Begin Play on the Player State to get the info from the Game Instance, however this does not work the way I thought as the Server does not recognize the new values.

    So how do I get a new value in my character that I set up in the game instance?

    #2
    Update: The solution I found was to use a SaveGame in the Instance and load at Begin Play. Hope this helps someone.

    Comment

    Working...
    X