Player.setCharacter

Sets the character the player is controlling.

Kind: Function

Environments: Game

Game

player:setCharacter( character )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
player Player The player.
character Character The character.