scene_set_player_count
Set the minimum and maximum player count (1–8) for a level to control its lobby and matchmaking capacity when published.
Instructions
Set how many players the level takes (关卡设置 > 人数设置) in a copy of a save: {min, max}, up to 8. A new map says 1 to 8, which is what the lobby and matchmaking go by once the level is published: a game made for one player says {min: 1, max: 1}. A playtest from the editor is one player whatever this says. Written as the official samples have it for 1 to 8 and 1 to 4.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | Yes | ||
| min | No | ||
| mapPath | No | ||
| outputName | No |