Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Set initial controller, Get input from multiple controllers

How can I set up a "Press A to Start" type of scenario if I have two active controllers/gamepads?

Let's say I have two gamepads turned on. On the first screen, I want to determine the initial user and set their controller to 0. I would have the player press a button and then move onto the main menu.

I have already created a blank level and added a widget for testing. I can only detect input from one controller. It is always the first controller I connected. How can I detect input from the other controller at the same time?

I have tried multiple widgets, giving ownership and focus to multiple Player Controllers and it doesn't work.

I have overridden "On Key Down" to try and catch all button presses, but I still cannot detect presses from both controllers, only one.

Once I am able to get the input from both controllers, how would I set the controller to become controller 0? Is there a function like Set Player Controller?

Either a Blueprint or C++ answer would be fine.

Product Version: UE 4.11
more ▼

asked Jul 19 '16 at 06:21 PM in Blueprint Scripting

avatar image

SKH Apps
28 2 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question