Page 1 of 1

filtering out asterisk signals from a choose-elem-button

Posted: Sat Oct 29, 2022 7:43 pm
by mami
I would like to make a gui that lets you choose a signal type like in a combinator. I'm using a choose-elem-button https://lua-api.factorio.com/latest/Lua ... lem-button set to elem_type="signal". However this has the problem that the wildcard asterisk signals appear in the menu, the "everything", "anything" and "each" signal types. I do not want to support these and would rather they do not appear in the choose-elem-button UI. I looked into using elem_filters https://lua-api.factorio.com/latest/Con ... typeFilter but the page explicitly states it does not support elem_type="signal".
Is there any way to not have those signals appear or be selectable?