How do I get the top players from the leaderboard (for instance, I want the top 10 players)? It wants an array of specific FUniqueNetId values…Is this even possible? What’s the point of leaderboards if I can’t read the top players out…there’s no function to get the top players from a leaderboard…
How do I properly tell it which steam leaderboard to read from? I can’t just put a string there, and I can’t figure out how to get or create an FOnlineLeaderboardReadRef
It is (currently) 100% impossible to get the top scores using the OnlineSubsystem setup in UE4 (wasted 2 weeks trying to figure it out before I got an official answer on that on another thread haha), so the OnlineSubsystem implementation of leaderboards is completely useless.
HOWEVER, following this guide:
You can enable native steam methods and bypass the OnlineSubsystem altogether.
THEN, I basically copy-pasted the “leaderboards step-by-step” code in the steamworks documentation on the steamworks partner website into a new empty class.
Then I made a new actor class that includes that class with blueprint-callable methods that call those methods.
Then I made a child blueprint class and used the methods that way. If you’re doing everything in C++ you can probably do it much more elegantly than I did, but I’m not much of a programmer haha.