Unreal Achievements

Introduction

This tutorial assumes you have completed the Creating an Achievement tutorial and are ready to integrate the same functionality into your Unreal Engine Game.

Here's what we'll cover in this tutorial:

Awarding an Achievement

Account Details Response

Testing the Achievement


Example Unreal Achievements code can be downloaded here

Awarding an Achievement

It's very simple to award an Achievement to the player using Unreal Engine SDK. All you have to do is call the Event that grants the authenticated player the Achievement, just like you did in the Achievements tutorial:

l

Account Details Response

You can access many details about the authenticated player using GSAccountDetailsResponse node. This is where you can validate your player has received an Achievement, what currencies they own, and so on:

l

In this tutorial, we'll print out the authenticated player's Display Name and the Achievements they have unlocked, as long as they achieve a new High Score, because that will be our trigger:

l

Testing the Achievement

The following image displays this in action. When we play the game and beat the High Score on the Leaderboard, we're notified about the High Score and all of our Achievements are printed out:

l

Did this page help you? Please enter your feedback below. For questions about using this part of the platform, please contact support here