Shared Screen Multiplayer

Hi
I wonder if there a possibility to make two pawns with different controls for each of them. F.e Right Player has different controls then Left Player. I also think to have two gamepads for controlling them
Thanks

Sure thing.

Just call “CreatePlayer”. And you’re good to go.

262631-1.png

After you create a new player, GetPlayerController 1 will be valid. By default ue4 only allows up to 4 local Players

There’s this category in ProjectSettings > Maps&Modes > LocalMultiplayer, where you can set a few local multiplayer settings.

“Skip Assigning Gamepad to Player 1 = true”, means player 0 uses keyboard/mouse, and player 1 uses the 1st gamepad.

262632-2.png