Hello, I have a local multiplayer game I’m making and I’d like to have multiple controllers controlling the same UI but I’m only able to control the UI with one controller/keyboard
I tried to layer multiple of the same UI on top of each other but that doesn’t seem to work
Any help on how I should go about making this? thank you!
Thanks, I’m able to control the game itself fine with multiple controllers, my problem is controlling my character select menu with different controllers.
I tried to spawn characters in the background and then have it create the UI for each character but that didn’t seem to work.
I also tried to create the UI’s in the level blueprint and in the HUD widget itself but that also did not work either.
I’m only able to control the UI being player controller 0
I can control the UI with the controller but it picks off where my mouse left off so I don’t know if its being read as player controller 1 etc, it should be a different cursor going in its own direction.
can you create some inputs with both controllers? for example the OK input could be the Enter key on your keyboard and the A button of your game controller.
This way all of your player controllers will have access to the functionality of the same UI. If you need a break down of how to make it (cause if you are a beginner it might prove difficult) reply here so i can make a simpler break down.
Hey, Jinkuu. Can I ask you how exactly did it help you? Did you create your own events after ‘on key down’? I have the same issue. I want to create MK like character selection menu and I can setup focus for 2 controllers, but when I’m testing it my controller and keyboard controls the same ‘square’ (character picker)
Theoretically after checking the box this shouldn’t happen but then again might be a bug or you don’t have things set up for this to work correctly. Do you create the second player in the level?
Unreal by default maps the Keyboard and the 1st gamepad to Player 1.
You can change this by setting this checkbox (Skip Assigning Gamepad to Player 1) in the Project settings to true.
Hi LoN, thanks a lot for your really fast comment. I have already checked this checkbox and my gamepad still used for 0 (first) controller. I’m stuck on this issue for more than 2 weeks now. When I’m navigating to my UI I’m setting focus for the 0 and 1 controllers on different buttons (boxes), system doesn’t show me the error that 1 controller (gamepad) is not assigned and focus is set, but my gamepad controls the focus of 0 controller. Please see the video I attached to my forum’s post and thank you so much in advance
Yes, I’m creating a second player on EventBeginPlay (level blueprint). Maybe I messed up somewhere my logic, but idk where. When I’m loading level I’m checking how many controllers are connected and it always shows the correct PlayerController0 and PlayerController1. I can share some of my BP screenshots if it can help.