I tried
Code: Select all
game.player.setcontroller{type=defines.controllers.god}
Code: Select all
game.player.setcontroller{type=defines.controllers.character}
I also tried to save the character in a variable to then do game.player.character=character and set the controller, but game.player.character is readonly
Also where is the ghost controller used? in the replay?