entity gui always above of player.center gui ?
entity gui always above of player.center gui ?
When the entity gui is opened, the player.center gui is under the entity. Is there a way to put the center gui on top? Or hide the entity gui?
Re: entity gui always above of player.center gui ?
eg.
1 click train > train gui opens
2 player.opened > returns train entity
3 player.center.add > adds a frame in the middle of the screen
Problem: the newly created frame is behind the train gui.
potential fixes:
- a way to close the gui in code (preferred)
- put new gui elements above old ones
1 click train > train gui opens
2 player.opened > returns train entity
3 player.center.add > adds a frame in the middle of the screen
Problem: the newly created frame is behind the train gui.
potential fixes:
- a way to close the gui in code (preferred)
- put new gui elements above old ones
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
Re: entity gui always above of player.center gui ?
Not currently, the layering is hard-coded.
As for closing entity GUI, I think you could possibly deselect the entity (something like `player.selected = nil` but haven't tried).
As for closing entity GUI, I think you could possibly deselect the entity (something like `player.selected = nil` but haven't tried).
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.