Page 1 of 1

New event on_entity_color_changed

Posted: Wed May 05, 2021 10:22 pm
by Xorimuth
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

Re: New event on_entity_color_changed

Posted: Mon Jun 03, 2024 8:02 am
by Bilka
Hello, this was added at some point: https://lua-api.factorio.com/latest/eve ... or_changed