player.view_mode and player.view_location

Post Reply
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 513
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

player.view_mode and player.view_location

Post by Mylon »

I'd like some LUA properties to manipulate the player's view. For example, I would like to switch the player to map view mode (at an appropriate zoom to see detail) and then move it to a specific position.

For example, a button that allows me to view a player. Click that and it snaps to their position in map mode and I can now see what they're doing without having to find them on them a map and zoom in.

Bilka
Factorio Staff
Factorio Staff
Posts: 3128
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: player.view_mode and player.view_location

Post by Bilka »

Okay, added for 0.17.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Implemented mod requests”