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"

Scoreboard not showing score

Hello.

I have an issue, probably just don't know how to get score from server. Basically here it adds score on overlap event. (Switch has authority) alt text

It adds it trough my Game State. And it works, check it with print string. It adds score how it should be. alt text

Only I can't see it in my widget. alt text alt text

Product Version: UE 4.19
Tags:
more ▼

asked Jun 19 '18 at 08:43 PM in Blueprint Scripting

avatar image

Freymox
41 2 2 7

avatar image Freymox Jun 21 '18 at 11:21 AM

Up! Please!

avatar image Nebula Games Inc Jun 21 '18 at 04:14 PM

attach your images so we can actually click on them and expand, hard to tell what is going on from so far away.

avatar image Freymox Jun 22 '18 at 05:59 AM
avatar image Freymox Jun 23 '18 at 02:59 AM

Anyone?????????

avatar image Nebula Games Inc Jun 23 '18 at 04:59 AM

Do you ever call the function to update the widget score? I’m assuming the widget appears but doesn’t update the score right?

avatar image Freymox Jun 26 '18 at 03:49 AM

It updates. When I play as a server, I can see a score and everything is ok. There is replication problem what I can't figure out.

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

1 answer: sort voted first

The clients are not seeing the updated score, because you are only changing the variables on the serverside.

You need to replicate the score variables or make a MulticastRPC and send the score through it to everyone.

Hope I could help, if you have any questions, just ask

more ▼

answered Jun 30 '18 at 05:04 PM

avatar image

Max Mittelstädt
63 2 5 8

avatar image Freymox Jun 30 '18 at 06:59 PM

I figure it out, just forgot to put. But yes, that is solution. Thank you so much for your time. If I'll have other questions, will let you know!

(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