Announcement

Collapse
No announcement yet.

Can't control character after server travel

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

    Can't control character after server travel

    I have a menu map that has its own game mode and player controller. When the player clicks to start a new game in the menu, I then call the Create Session node followed by the Open Level node, which causes the server to travel to the game map. The game map has its own game mode, player controller and player character set.

    The problem I'm having is that the player character is being spawned in the game map, but the player cannot control it. I'm just stuck with the mouse cursor. When I move the mouse or press the wasd keys, the player character does not move.
    Last edited by wilberolive; 11-10-2019, 06:39 AM.

    #2
    I figured out the problem for anyone in the future that has the same issue. You just need to call Set Input Mode Game Only on the player controller once in the game map. I did it in the OnPostLogin event in the Game Mode, but you could probably do it somewhere else too if needed.

    Comment

    Working...
    X