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 get Highest score from Epic Leaderboard?

I am working on an endless running where any player can post their best time to an online leaderboard call Epic leaderboard (http://epicleaderboard.com/) At the beginning of the game, I want to get the username and score of the player with the highest score from Epic leaderboard and display it to Player HUD during gameplay.

In the demo widget (provided by Epic Leaderboard) I get the leaderboard entries and break them. from there I cast to game instance and set the player rank, username, and score. alt text In the game instance, I delay for 1 and print these variables but nothing is happening. I am not sure what i am doing wrong. Can anyone help? alt text

Product Version: UE 4.20
Tags:
more ▼

asked Aug 13 '19 at 04:26 PM in Blueprint Scripting

avatar image

Catherine8687
1 1 1

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

2 answers: sort voted first
more ▼

answered Aug 16 '19 at 04:32 AM

avatar image

Catherine8687
1 1 1

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

There two possibilities - or your Event Init doesn't fire, or your variables are empty. First you can check by putting breakpoint or print string with random text inside. Maybe 1 second delay isn't enough. Also - do you really want to get Index 1 from array? First element of array located on zero index.

more ▼

answered Aug 13 '19 at 04:54 PM

avatar image

SpynderMK
182 3 4 10

avatar image Catherine8687 4 days ago

I changed the index to 0 and added a print string, however, I am getting the following errors.

alt text alt text

(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