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"

Widgets in Multiplayer

How do I make widgets proprietary to each player for a multiplayer game? When Playing in PIE (with two players and a designated server) no one sees the widgets.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 23 '15 at 12:27 PM in Blueprint Scripting

avatar image

Fristomer
1 3 5 5

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

1 answer: sort voted first

can you show the code where you spawn them? generally it just works when spawned on clientside code. details in the widgets if set to replicate should update automatically.

dont forget after creating the widget you need to add it to the viewport too

more ▼

answered Jul 23 '15 at 12:30 PM

avatar image

MrGrr
986 34 3 41

avatar image Fristomer Jul 23 '15 at 12:32 PM

Yeah, I know that part. They are all added to the viewport at the designated times, but none of them show up in multiplayer. Although you did just give me a noggin-slapper. Duh, I forgot to set them to replicate lol. Thanks.

avatar image Fristomer Jul 24 '15 at 12:48 PM

Okay, new problem, same category: When playing, I open the inventory widget and it changes all players to the same character. I have a game where you select from two different characters in the beginning, but if i open the widget, it changes all players to the same character (the one who opened the widget.)

avatar image MrGrr Jul 26 '15 at 11:47 AM

check your inventory blueprints, i'd suspect your overwriting the player character value somewhere.

or, go to your blueprint where you choose your player, right click the variable you store the player character in and click "find variable references" it'll be somewhere in the results your setting the variable again.

(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