Page 1 of 1

Add a way to prevent the player from leaving the remote controller

Posted: Thu Oct 30, 2025 7:38 am
by TBC_x
I've created a mod, where I've stashed the player character away onto a separate surface and let him use only the remote view to interact with the world.

The problem I ran into is that when the player accidentally leaves the remote view, he has to figure out a way to get back.

I thought of just letting the player sit in a space platform hub, but that is not available without the expansion.

I could set the controller back to the remote view in an event handler, but I'm sure the player would not be able to access the game menu.

Re: [2.0.69] Add a way to prevent the player from leaving the remote controller

Posted: Thu Oct 30, 2025 8:06 am
by Stringweasel
TBC_x wrote: Thu Oct 30, 2025 7:38 am I could set the controller back to the remote view in an event handler, but I'm sure the player would not be able to access the game menu.
What do you mean with this? I'm quite sure if you listen to on_player_controller_changed and set it back to remote view if the player left it that it will just work. It has no effect on if the player can access the game menu.

Re: Add a way to prevent the player from leaving the remote controller

Posted: Thu Oct 30, 2025 10:48 am
by Stringweasel
Ah, wait, if you press escape then it goes to character controller, and then you put it back in remote view, so have to press escape again... I see :D