Ways to know when remote control window (map) is open or closed

Place to get help with not working mods / modding interface.
Matryoshka
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue Jul 19, 2016 9:56 am
Contact:

Ways to know when remote control window (map) is open or closed

Post by Matryoshka »

Hi people

As the subject goes how does one know when the remote control window is opened/closed?
Is there an event for that? If there is not do someone know some workarounds that are not bad for performance?

Thanks
User avatar
Osmo
Fast Inserter
Fast Inserter
Posts: 205
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: Ways to know when remote control window (map) is open or closed

Post by Osmo »

Switching to remote view puts the player in a different controller. It also raises an event on_player_controller_changed
Matryoshka
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue Jul 19, 2016 9:56 am
Contact:

Re: Ways to know when remote control window (map) is open or closed

Post by Matryoshka »

Osmo wrote: Sun Dec 07, 2025 8:40 pm Switching to remote view puts the player in a different controller. It also raises an event on_player_controller_changed
Thank you. I think that exactly what I could use.
Post Reply

Return to “Modding help”