respawnCharacter
respawnCharacter(
step,character,options?):Readonly<TeleportResult>
Stands a downed character again: the same entity, at full health, off
the ground, its held clip, such as its death, stopped, then each
plugin’s onCharacterRespawn where a player controls it. At position
it is teleported at rest, so every page cuts to it there, the player’s
page’s camera resets and a push or a knockback the character went down
in ends. Without one it stands where it fell, keeping its motion. It
faces rotation where given. Answers isClear as teleport does:
false where the point holds the character stuck. A character that is
not down is left as it is, and answers true. What
characters.systems.respawn calls once its wait is spent; a game that
respawns its own way, such as at a checkpoint it chose, calls it from
its own system. As Unreal’s RestartPlayer, but on the entity the
player has; a game that wants a new one, as Roblox’s LoadCharacter
makes, calls spawnCharacter.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
step |
AuthoritativeStep |
character |
Entity |
options |
RespawnCharacterOptions |
Returns
Section titled “Returns”Readonly<TeleportResult>