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.ShowChallengeComposeDialog
Shows challenge compose dialog.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GameKit | 8.5 | Yes | No | No | No | Yes |
MBS( "GameKit.ShowChallengeComposeDialog"; scoreRef or AchievementRef; Message; playerIdentifiers { ; Filename; ScriptName } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| scoreRef or AchievementRef | The score or achievement identiifer. | ||
| Message | The message text. | ||
| playerIdentifiers | The list of player identifiers. | ||
| Filename | The database file name where the script is located. | "test.fmp12" | Optional |
| ScriptName | The script name. | "MyScript" | Optional |
Result
Returns OK or error.
Description
Shows challenge compose dialog.Provides a challenge compose view controller with pre-selected player identifiers and a pre-formatted, player-editable message.
Once dialog finishes, the given script is triggered and passed either didIssueChallenge or cancel as parameter.
Created 5th November 2018, last changed 8th November 2018
GameKit.SetPlayerDidChangeScriptTrigger - GetSystemUIMode
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos