New-File
Creates a new Trigger config file locally containing example Triggers.
阅读时间1 分钟最后更新于 8 天前
Creates a new Trigger config file locally containing example Triggers.
Set on a trigger (for example or ) to forward the event scope to the action.
Omit it to drop the event scope.
ActionScopeTypePlayerMultiplayerSession{ "Name": "Trigger 2", "EventType": "EventType2", "ActionType": "cloud-code", "ActionUrn": "urn:ugs:cloud-code:MyModule/MyFunction", "ActionScopeType": "Player"}
Command
Authentication Required:
Nougs triggers new-file <file-name> [options]
Arguments
<file-name>Options
Alias | Description | |
|---|---|---|
| force | -f, --force | Overwrites existing file |
| help | -?, -h, --help | Display help and usage information. |
| quiet | -q, --quiet | Reduce logging to a minimum. |
| json | -j, --json | Use JSON as the output format. |