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"

How to make multiplayer game with different controller for each player?

I want to make a multiplayer game, which can let two people play together. I want to set a controller with arrow button and another controller with WASD for each of two people. How can I do that?

(Both blueprint and C++ OK)

Product Version: Not Selected
Tags:
more ▼

asked Nov 21 '14 at 10:41 PM in Using UE4

avatar image

diana12131990
1 1 2 4

avatar image Ninetail Nov 24 '14 at 05:40 PM

Is this local or networked multiplayer?

avatar image diana12131990 Nov 24 '14 at 05:43 PM

Local, and both of the players share one keyboard to play (one use arrow buttons and the other use WASD)

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

1 answer: sort voted first

This post should help get you started:

https://answers.unrealengine.com/questions/87715/control-2-pawns-with-1-controller.html

You'll then want to put a switch in each player controller that changes the action event handlers based on the player controller index. You can set up Player 0 to use the default (WASD) events, and Player 1 can be switched to use the arrow controls.

more ▼

answered Nov 25 '14 at 04:16 PM

avatar image

Ninetail
211 6 7 17

(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