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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
GameKit.Achievement.New
Initializes a new achievement object for the local player.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GameKit | 8.5 | Yes | No | No | No | Yes |
MBS( "GameKit.Achievement.New"; Identifier { ; Player } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Identifier | The identifier for the archiement. | ||
| Player | The identifier for the player. | Optional |
Result
Returns achievment identifier or error.
Description
Initializes a new achievement object for the local player.Your game initializes a new achievement object only when it has not previously reported progress for that achievement. If your game has previously reported progress on an achievement, you should first retrieve the current progress by calling the GameKit.LoadAchievements function.
The identifier string should be a reverse DNS style string, such as "com.mycompany.myapplication.myactivity". Zero-length strings are not allowed.
Examples
Make new achievement:
MBS( "GameKit.Achievement.New"; "de.mbsplugins.test")
See also
Created 5th November 2018, last changed 8th November 2018
GameKit.Achievement.LastReportedDate - GameKit.Achievement.Player
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins