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"

How to display network information to the user?

I have been looking around google for a way to display network information similar to the way most games do it. But I have not been able to find anything. I would like to show the user the following: - Ping in ms - KB/s up - KB/s down - Packet/s up - Packet/s down - Packet loss up % - packet loss down %

In case you don't know what I'm talking about here's a picture

alt text

I would just want to know what functions/variables to use.

Product Version: UE 4.20
Tags:
more ▼

asked Sep 16 '18 at 04:59 PM in Blueprint Scripting

avatar image

EtherCable
21 1 4

avatar image Rev0verDrive Oct 26 '18 at 07:54 PM

Both, Fortnite and PubG use this exact layout. So the data has to be readily available. Looking for the answer to this myself.

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

1 answer: sort voted first

You can get it via UNetConnection and you can get it via player controller

https://api.unrealengine.com/INT/API/Runtime/Engine/GameFramework/APlayerController/GetNetConnection/index.html

https://api.unrealengine.com/INT/API/Runtime/Engine/Engine/UNetConnection/index.html

It is related to UPlayer which is not available in Blueprints so you need to dive to C++ to grab that but it should not be hard to bring those to blueprint if you want

more ▼

answered Oct 26 '18 at 11:49 PM

avatar image

Shadowriver
37.3k 936 172 1116

avatar image Paul Nevada Jun 04 '19 at 07:29 AM

How can it be done in more words, please?! The data on the above PUBG screen-shot - is it a ready to use widget or not? Thank you!

(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