Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

GameKit.AchievementDescription.Image

Loads the image property for a completed achievement.

Component Version macOS Windows Linux Server iOS SDK
GameKit 8.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "GameKit.AchievementDescription.Image"; AchievementDescriptionRef { ; Filename; Type } )   More

Parameters

Parameter Description Example Flags
AchievementDescriptionRef The identifier for the achievement description. $AchievementDescription
Filename For PDF or image files returned an optional file name. "test.jpg" Optional
Type For images the type you like to get.
Can be JPEG, TIFF, PNG, GIF, BMP or PDF.
"JPEG" Optional

Result

Returns image container or error.

Description

Loads the image property for a completed achievement.
Loading and displaying achievements using a custom interface is a two-step process, with the first step being to call the GameKit.LoadAchievementDescriptions function. The second step is to call the GameKit.AchievementDescription.Image function for each achievement the user has completed. Your game should display the placeholder image until the image is successfully downloaded.

See also

This function is free to use.

Created 8th November 2018, last changed 8th November 2018


GameKit.AchievementDescription.Hidden - GameKit.AchievementDescription.IncompleteAchievementImage

💬 Ask a question or report a problem