Attach tag to entity via scripting
Posted: Mon Aug 24, 2020 10:03 pm
Exclusive "tag" for entity is attachable from Map Editor(/editor).
And accessible via
game.get_entity_by_tag(tag)
https://lua-api.factorio.com/latest/Lua ... ity_by_tag
But I can't find any way to "write tag" via script.
If it's not exist, add it please.
If it's exist, let me know.
And accessible via
game.get_entity_by_tag(tag)
https://lua-api.factorio.com/latest/Lua ... ity_by_tag
But I can't find any way to "write tag" via script.
If it's not exist, add it please.
If it's exist, let me know.