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 get the number of controllers connected

Hi, thanks all who have helped me all the way till now. Im making an item wheel that the players can choose which ship/weapons they want to use. Im done with the item wheel but now the problem is that when I use a new controller(assuming player 2), the player 2 have to press the same sequence which is press start, A then X to pop up the item wheel, but player 2's item wheel will be directly above the player 1's item wheel. As seen in the pictures in the link, each player only have one blue box which shows which item they are picking, but there is 2, so there is 2 item wheel overlapping each other. Any idea how to translate the widget in the blueprints. I created the umg as the new player plugs in their controller in the player controller.

Blueprint: http://i.imgur.com/dLvTqaV.png

In game view: http://i.imgur.com/RstLyJI.jpg

Product Version: Not Selected
more ▼

asked Apr 16 '15 at 09:51 AM in Blueprint Scripting

avatar image

48 10 15 23

avatar image Anoimus Apr 16 '15 at 09:59 AM

I assume that both player controllers thinks that they are both controller "0", any idea how to fix that issue?

avatar image CelestialPanda Apr 17 '15 at 11:49 AM

If it's local, generally you need to use the "Create New Player" node to create a player. The output can be used as a "PlayerID" of sorts so that you can tell PlayerControllers, Pawns and Widgets apart.

avatar image Anoimus Apr 17 '15 at 12:50 PM

I manage to make it not overlap but the widgets are all controlled by one controller now

avatar image bruno9999 Jul 08 '18 at 09:54 AM

This is really nice info, For more http://allprogramswindows10.com/

avatar image Anoimus Apr 17 '15 at 10:47 AM

does anyone know how to fix the issue?

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

1 answer: sort voted first

Clients only have their own PlayerController. So you won't have the Controllers of the other Players.

Only the Server has all PlayerControllers. If you want to work with the other controllers, you need to let the server call the draw functions on the client.

more ▼

answered Apr 17 '15 at 11:17 AM

avatar image

6.8k 333 185 470

avatar image Anoimus Apr 17 '15 at 11:26 AM

even if its a single client game? like4 players using the same console

avatar image Sveitar Mar 29 '17 at 10:04 PM

In that case that "single client game" is not a client, is a standalone game, and it acts as a "self contained server"

PD: I know it's an old thread, but I wanted to reply this comment just for new people that come in into this thread.

(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