From ghost to character or from god to character.
Posted: Sun Sep 29, 2013 1:51 pm
Is it possible to change the controller from gost to character and/or from god to character?
I tried
and the player is still there, because I havent removed it, and then I tried doing
but it says 'setcontroller table expected, got nil'
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?
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?