Is there no separate event for entity clicks?
Is there no separate event for entity clicks?
I’m trying to make an NPC dialogue window appear when a certain entity is clicked. However, it seems there’s no specific event for entity clicks. Is there any good way to achieve this?
I am not able to write in English myself, so I am using ChatGPT for help. Please excuse any awkward phrasing.
Re: Is there no separate event for entity clicks?
Also https://lua-api.factorio.com/latest/eve ... InputEvent if you create a CustomInput linked to open-gui and read player.selected (which can work for entities out of reach and/or ones that can't have a gui)


