GuiAnchor support for ghosts

User avatar
Quezler
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

GuiAnchor support for ghosts

Post by Quezler »

When GuiAnchor was implemented ghost guis weren't a thing yet.

When you use name or names as a filter it'll stop appearing on ghosts even if they share the name, which would require the player to just listen to the gui opened event of that gui type in general and then manually toggling it, which is not quite nice.

It would be nice if the relative gui when filtered by name would also open for entity ghosts matching the type & name defined in the filter.

For backwards compatibility with mods that do not expect the gui to open for their ghosts i would suggest an "include_ghosts = true" opt-in or something.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15689
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: GuiAnchor support for ghosts

Post by Rseding91 »

I've added ghost_mode to LuaGuiElement::anchor for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”