question

Nanbara Shigenori avatar image
Nanbara Shigenori asked

What is the best way to get statistics on how far a player has progressed through the game?

What is the best way to get statistics on how far a player has progressed through the game? Is there such a function? I use Unreal Engine4. Generating the player's login ID has been successful.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JayZuo avatar image
JayZuo answered

You will need to create a statistic like "Progress" for this purpose. Then you can update this statistic with UpdatePlayerStatistics method when player finished a level or something else. Then when you need you can get the progress with GetPlayerStatistics method. More details please see https://docs.microsoft.com/en-us/gaming/playfab/features/social/tournaments-leaderboards/quickstart.

Besides, please note that it's not recommended to update statistics from client. We'd suggest updating from your custom server or Cloud Script to perform validation and detect cheating.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.