Page 1 of 1

Change entity view at runtime

Posted: Wed Jan 04, 2017 1:49 pm
by Hermios
Hello
Some suggestions : Make the "Picture" (or animation, or any equivalent) of entities changeable at runtime.
For example, on a vehicle or a character, some new properties (like equipment) will change its view
This is already possible for some items (Lamp, rail-signal) and under some circumstances (entity destroyed, rotate etc.), but it would be great to have this more "opened", i.e. changeable by script!

Thanks

Niko

Re: Change entity view at runtime

Posted: Thu Jan 31, 2019 7:56 pm
by Bilka
When using entities that use sprites with variations you can choose the variation runtime: https://lua-api.factorio.com/latest/Lua ... _variation