help stuck in "spectator mode"

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
hardsoule
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Mar 17, 2016 11:41 am
Contact:

help stuck in "spectator mode"

Post by hardsoule »

Need some help. i was messing with some of the console/lua commands and used this one /c game.player.character = nil -- disconnect the character, player will gain ghost view it put me in sandbox mode but my character is standing where he was and i cant regain control i tried using the command listed but it doesnt seem to do anything that command was /c game.player.character = character -- connect player to the character again. and unfortunatley i was a derp and forgot to save the 2.5 hours work i did before doing this lol so any help would be awesome
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: help stuck in "spectator mode"

Post by prg »

Point the mouse at the character and /c game.player.character = game.player.selected
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
hardsoule
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Mar 17, 2016 11:41 am
Contact:

Re: help stuck in "spectator mode"

Post by hardsoule »

prg wrote:Point the mouse at the character and /c game.player.character = game.player.selected

that worked thanks for the help and quick response
Post Reply

Return to “Gameplay Help”