Page 1 of 1

LuaEntity.ghost_unit_number

Posted: Sun Jun 02, 2019 6:00 pm
by eradicator
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.

Re: LuaEntity.ghost_unit_number

Posted: Wed Jun 05, 2019 12:58 pm
by Bilka
Okay, added for the next version.