Announcement

Collapse
No announcement yet.

[UMG]Second player lost controller when UMG used

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

  • replied
    OK, solution found here: https://answers.unrealengine.com/que...nt-176775-form

    Just add Set Input Mode Game Only after Event Begin Play and no problem anymore

    Leave a comment:


  • replied
    I've try, but nothing chnage.

    Leave a comment:


  • replied
    Try adding a delay before creating your UMG widgets

    Leave a comment:


  • replied
    Ok, the problem come from the mouse that does not desappear when the menu load new map... I have to clic in the game windows to make the player 2 playable again... there is a solution for that?

    I already did that:
    Click image for larger version

Name:	MouseProblem.jpg
Views:	1
Size:	89.5 KB
ID:	1088727

    In case of: I use flip/flap for show and hide the menu, and when I just show and hide the menu, with no clic, the mouse desappear correctly
    Last edited by nynjardin; 10-04-2015, 10:08 PM.

    Leave a comment:


  • replied
    Ok,

    It's very easy te reproduce:

    -Create any type of BP game template (I have try Third Person, FPS and Rolling... so I think that work with all other too)
    -Create a Trigger when it was touch by a player, it open the level again
    -Create a second player to test
    -Play to test

    When a player touch the trigger, the level is reloaded and all players can play, you can try it some time, all player can play, again and again

    Now the problem:
    -Create a menu BP with just 1 button
    -Assign open menu with a key ("p" in my case)
    -Make it Open Level when you clic on it
    -Start the game, all player work

    Now, open the menu, click on the button, the level is realoaded, the player 1 can play, the player 2 cannot... and if you try to touch the trigger, the problem stay, only player 1 can play when level is reloaded...

    Here, some screenshot
    -When player choose a skin, the player valid it and the map is loaded, work for all player and all work fine
    Click image for larger version

Name:	WorkFine.jpg
Views:	1
Size:	275.7 KB
ID:	1088573

    -How I create the players
    Click image for larger version

Name:	WorkFineLevelBP.jpg
Views:	1
Size:	229.3 KB
ID:	1088574

    -The trigger who open the level (I do it just for testing purpose)
    Click image for larger version

Name:	WorkFineTriggerBP.jpg
Views:	1
Size:	264.0 KB
ID:	1088575

    -The button who make the player 2 not working
    Click image for larger version

Name:	NotWorkingMenuBP.jpg
Views:	1
Size:	67.3 KB
ID:	1088576

    Thank you!

    Leave a comment:


  • replied
    Hey there,

    please provide some screenshots of how your logic works, noone can give you a general solution if
    you just describe your problem like this

    cheers

    Leave a comment:


  • started a topic [UMG]Second player lost controller when UMG used

    [UMG]Second player lost controller when UMG used

    Hi,

    I have made a simple local multiplayer game with ball Template. I have added some new rules that work perfectly. I just have a problem and don't found any solution:

    When I make an OpenLevel from UMD button, the level load perfecly but the player 2 lost his controller (I think... I can control It anymore) but if I make an OpenLevel at the end of the game (when all player have touch a trigger, for exemple), the level is charged and all player can control they ball whitout any problem...

    I try to unposses pawn and posses them again in the level Event BeginPLay, that not work...

    Any Idea?

    Thanks
Working...
X