x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Second Player does not receive Input

Hello,

I create a second player in my local MP game using the "Create Player" node. However, the second player does not get any input. I have my Keyboard and and XBone Controller hooked up to my PC. Both seem to control only player 1. What I want however, is for my Keyboard to control player 1 and my controller to control player 2. How can I setup this?

Product Version: UE 4.8
Tags:
more ▼

asked Jul 23 '15 at 10:03 PM in Blueprint Scripting

avatar image

Brainshack
103 20 26 48

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

3 answers: sort voted first

Unfortunatly i can´t tell you how to fix this (i have the same problem atm), but i can tell you why. A normal person would think, that the first input-hardware (mouse+keyboard) controls the first Character, the first XBone/PS4 (do X360 and PS3 Controler work on PC?) Controler controls the second character, the next controller controls the third player etc.

But for some reason Epic thought "hey, let´s link the first input type to the first character". That means, that the first character receives the input from the first Keyboard AND from the first controller. That means that you need 2 Controllers for 2 Characters, even if you control the first character with a keyboard.

more ▼

answered Oct 09 '15 at 06:50 PM

avatar image

Arechon
58 4 7 11

avatar image Prestonator Oct 10 '15 at 04:24 AM

Or maybe you could find a way to register the first controller as the second one when it gets plugged in? Just a thought.

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

I have met the same problem . I have to playercontroller one control by wasd another one is control by direction key. I use creat player funtion in my gamemode blueprint. but seems the second player dosen't receive any input event.

more ▼

answered Dec 14 '16 at 03:34 AM

avatar image

kenshin1987
31 1 4 4

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

Hi,

this is for late visitors like me - I just read this in an unreal forum post:

Go to Project Settings [maps&modes] and enable 'Skip assigning Gamepad to Player 1' [in the local multi player tab]. You will then be able to control 1 player with keyboard and 2nd player with gamepad.

https://forums.unrealengine.com/development-discussion/c-gameplay-programming/107949-create-second-player

more ▼

answered Mar 01 '19 at 06:02 PM

avatar image

BOBtheROSS
235 9 13 23

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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