Hi
I want to create a script for a little more realism on a scenario... I would like that after a while, the pieces of wreckage disappear.
Any idea how to proceed?
Thank you all
Help with scripts
Re: Help with scripts
If your entity is ghost, combat robot, highlight box or smoke then
https://lua-api.factorio.com/latest/Lua ... me_to_live
For other entities set the timer when to destroy the entities and on_n_ticks check them.