RespawnPlayer

From The KillerJim Mod Wiki

Gamemode::RespawnPlayer

RespawnPlayer.png

Server Only Function - This is an function executes only on the server.

Description

This will respawn a player in the level (and destroy their pawns if they're still alive). Unlike the standard SpawnPlayer (which spawns them in one of the player start points) this function allows you to specify a spawn location (i.e. transform).

Arguments
1 KJModPlayerProxy PlayerToSpawn
The player (proxy) you want to respawn
2 Transform SpawnTransform
The location, rotation and scaling for the respawn point.

Playing

Developers

Developer Reference