Page 1 of 1
Spectate mode
Posted: Sun Aug 02, 2015 2:20 am
by Glockshna
Is there a way to separate the player's camera from his character? I'd like to somehow set the player's camera position to the position of someone else on the server in essence spectating them and then add another button to reset the camera back to the player.
Re: Spectate mode
Posted: Sun Aug 02, 2015 9:49 pm
by jorgenRe
I think it was just
/c game.players [1] = nil
now just be CAREFUL! !
also if you are on multilayer then the number is which player number you are.
Re: Spectate mode
Posted: Sun Aug 02, 2015 10:05 pm
by orzelek
You need to store current player entity somewhere or you can't go back

Re: Spectate mode
Posted: Mon Aug 03, 2015 8:19 am
by Adil
orzelek wrote:You need to store current player entity somewhere or you can't go back

You just need to find character
Code: Select all
/c game.player.character=game.player.selected
You still need to leave the body somewhere out of biter reach though, or you won't be able to go back indeed.