chooseSpawn
Client export to open the spawn selector
chooseSpawn
Use this from a client script to open the selector when a loading screen or character creator is done.
Usage
Call the export after the player has loaded:
exports["FS-SpawnSelector"]:chooseSpawn()Notes
Config.manuallyTriggeris not required to call this export.- Setting
Config.manuallyTrigger = truestops the UI from opening automatically, giving you full control over when to show it.
When to use
- After a loading screen finishes
- After selecting a character in a multi-character system
- From a manual command or interaction that should open the selector
Internal reference
The export simply proxies the internal chooseSpawn() function:
exports("chooseSpawn", function()
chooseSpawn()
end)You can trigger it from any external resource using the export shown above.
Returns
- void: No return value.