spawnCharacter
spawnCharacter(
authority,player,options?):Entity
Spawns player’s character, as the characters plugin does once her
save has restored onto her, and answers it: at her seat’s spawn point
as the scene’s <CharacterSpawn> names it, with its props and each
plugin’s onCharacterSpawn, registered as her saved entity under
key so her record for it restores over those defaults, controlled by
her, and made her view target and her presence. A character
she has is destroyed first, captured into her save as it goes, so a
new one under the same key carries her bag, as Roblox’s
LoadCharacter replaces hers; one under another key is a character
switch. An explicit position and facing win over her saved place.
Takes the room’s step, requireAuthority, or her join hook’s step.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
authority |
EntityAuthority |
player |
Entity |
options |
SpawnCharacterOptions |
Returns
Section titled “Returns”Entity