I'm currently having to use `on_gui_closed` for this one, but it only takes effect when the overall GUI is closed, not immediately.
Why? I'm kind of trying to re-create the line on the ground from a spidertron to its destination, which is coloured the same colour as the spidertron. I can't detect the colour changing in order to change the colours of my LuaRendering lines.
Alternative name: on_entity_recolored
New event on_entity_color_changed
New event on_entity_color_changed
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Re: New event on_entity_color_changed
Hello, this was added at some point: https://lua-api.factorio.com/latest/eve ... or_changed
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.