Achievements API Reference
This section documents all Google Play Games Services Achievements Blueprint nodes provided by the plugin. These nodes allow you to display the native achievements UI, load achievement data, and update achievement progress.
Before using any Achievements API functions, the player must be successfully signed in to Google Play Games Services. If the user is not signed in, these functions will fail or produce no results.
Achievements UI
| Node | Parameters | Callbacks / Return | Description |
|---|---|---|---|
| Show Achievements UI | – | On Opened: Called when the achievements UI is successfully opened. On Closed: Called when the achievements UI is closed by the user. On Failure (Error Message): Called if the UI fails to open. |
Displays the native Google Play Games achievements UI. |
Load Achievements
| Node | Parameters | Callbacks / Return | Description |
|---|---|---|---|
| Load Achievements | bForceReload (bool) |
On Success (Achievements): Returns an array of FGooglePlayAchievement objects.On Failure (Error Message): Called if loading achievements fails. |
Loads all achievements for the currently signed-in player. If bForceReload is false, cached data may be used. |
Achievement Progress
| Node | Parameters | Callbacks / Return | Description |
|---|---|---|---|
| Unlock Achievement | AchievementID (string) |
– | Unlocks the specified achievement. Intended for standard achievements or when completing incremental achievements. |
| Reveal Achievement | AchievementID (string) |
– | Reveals a hidden achievement, making it visible to the player without unlocking it. |
| Increment Achievement | AchievementID (string), Steps (int32) |
– | Increments an incremental achievement by the specified number of steps. |
| Set Achievement Steps | AchievementID (string), Steps (int32) |
– | Sets the absolute progress value for an incremental achievement. This overwrites the current step count. |