Add surface to LuaPlayer.open_map(position, scale)
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Add surface to LuaPlayer.open_map(position, scale)
As the title says, I want to use open_map to open the map at the position of an entity, that may not be on a different surface. I currently can't do this because the function doesn't take surface as an argument.
Re: Add surface to LuaPlayer.open_map(position, scale)
At the moment GameView doesn't support rendering surface other than the one local player is on. For remote-viewing other surfaces, you'll need to use camera widget or minimap widget.
-
- Long Handed Inserter
- Posts: 73
- Joined: Wed Feb 20, 2013 6:57 pm
- Contact:
Re: Add surface to LuaPlayer.open_map(position, scale)
I would also love this feature, or make tags on a minimap element clickable. Use case would be to draw a map with locations on another surface, when a player clicks the tag they can teleport to that server.
Re: Add surface to LuaPlayer.open_map(position, scale)
Or add x/y offset to the on_gui_click event, so we can deduce what the player clicked ourselvesI_IBlackI_I wrote: ↑Thu Jul 11, 2019 12:06 pm or make tags on a minimap element clickable. Use case would be to draw a map with locations on another surface, when a player clicks the tag they can teleport to that server.