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"

Widget disables after another player connect

Hi.

Sorry for my english.

Making multiplayer game and having problem with ui.

i have next inventory system: player press button to open inventory -> rpc call on server to get data-> rpc call on client with json result -> client parse json and show widgets in slots.

When i run project in editor with 1 client and dedicated - everything's ok.

When i run project in editor with 2 clients and dedicated - widgets (icons in inventory) of client-1 disable (grey and cant be moved) after client-2 was connected (inventory rpc was not even called). Client-2 has same problem after connect.

When i run package with listen server and 1 client - widgets of client-1 already disabled after connection (listen server has not ui).

Sorry, but i dont know what extra information is needed, ask. Please, help :)

Product Version: UE 4.19
Tags:
more ▼

asked Jun 21 '18 at 09:58 PM in Everything Else

avatar image

Station437
6 4

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

1 answer: sort voted first

Problem solved: mistake was in creating widget with slots with every player, so i just added a check "IsLocallyControlled" before creating widget in pawn.

more ▼

answered Jun 25 '18 at 10:58 AM

avatar image

Station437
6 4

(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