LuaEntity.ghost_unit_number
Posted: Sun Jun 02, 2019 6:00 pm
What?
Read access to the unit number of the entity contained in an entity-ghost.
Why?
I need to keep lua-side data for my entities, which is indexed by unit_number, and needs to be consistent if an entity is killed and then rebuilt.
Read access to the unit number of the entity contained in an entity-ghost.
Why?
I need to keep lua-side data for my entities, which is indexed by unit_number, and needs to be consistent if an entity is killed and then rebuilt.