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.SetPlayerDidChangeScriptTrigger
Sets the player change script trigger.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GameKit | 8.5 | Yes | No | No | No | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Filename | The database file name where the script is located. | "test.fmp12" |
| ScriptName | The script name. | "MyScript" |
Result
Returns OK or error.
Description
Sets the player change script trigger.Script is called when player changed.
Examples
Set script to call when player changes:
Set Variable [ $r ; Value: MBS( "GameKit.SetPlayerDidChangeScriptTrigger"; Get(FileName); "PlayerChanged" ) ]
See also
Created 5th November 2018, last changed 8th November 2018
GameKit.SetDefaultLeaderboardIdentifier - GameKit.ShowChallengeComposeDialog
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins