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. 

Local Multiple Players using a single widget

Hey All

i'm making a small local multiplayer mini game and i wanted 4 players to be able to click start then select a character. best example i can give is like Mariokart multiplayer character select screen.

i have all the selection logic done and parsing info along to characters but how do i get multiple controls to use a single widget?

alt text

Product Version: UE 4.15
Tags:
0kmb789.png (1.0 MB)
more ▼

asked May 13 '17 at 08:51 AM in Blueprint Scripting

avatar image

Glzmo
56 6 5 10

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

1 answer: sort voted first

It is possible. i am no expert so I might not be of any help but I'll show you how I've done something similar (although not performance wise)

It is based over this tutorial: https://www.youtube.com/watch?v=tCXuNu4RETs&t=8s

I want 4 players to be able to use this widget, so first I am creating 4 Players in the level blueprint before creating the widget (If you don't have the number of players you are using you will get errors) like so: alt text

Then in the widget I want the 4 players to have input i do this:

alt text

And this is the inside of the "4 Player Controller Input Down/Up" nodes that are connected to the OR nodes: alt text

You should check the tutorial in order to get an understanding of this system.

My set up is limited to "one cursor" like the "yellow cursor" of the Mariokart screen, but with some tweaking, you might be able to make it separate for individual players. I hope it helped you a little.

a-01.jpg (651.8 kB)
a-02.jpg (1.8 MB)
a-03.jpg (794.0 kB)
more ▼

answered Sep 07 '17 at 10:38 AM

avatar image

LoN
65 9 13 22

(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