LuaEquipmentGrid index
LuaEquipmentGrid index
Hi again, related to the post of LuaEquipmentGrid , why the LuaEquipmentGrid doesen't have an index? I suppose that is why they are in a one to one association to an entity, so for identify it is possible use the index of the entity, but is weird that miss an unique identificator when all other LuaObject have it. Also, this missing property if the request in the other post wouldn't implemented (about the fact that exist situations where is know the grid but not the entity that own it).
Re: LuaEquipmentGrid index
Not all Lua Objects have a Unique ID, in fact very many don't, even many entities, such as resources, trees, don't have a unique ID.Linver wrote: Thu Jul 09, 2020 6:09 ambut is weird that miss an unique identificator when all other LuaObject have it.
Looking at the equipment grid, there is nothing internally to give to you, there is no unique ID in the engine for an equipment grid, so this modding request isn't easy to fulfill.
Re: LuaEquipmentGrid index
Understand, anyway, thank you for the answerKlonan wrote: Thu Jul 09, 2020 9:30 amNot all Lua Objects have a Unique ID, in fact very many don't, even many entities, such as resources, trees, don't have a unique ID.Linver wrote: Thu Jul 09, 2020 6:09 ambut is weird that miss an unique identificator when all other LuaObject have it.
Looking at the equipment grid, there is nothing internally to give to you, there is no unique ID in the engine for an equipment grid, so this modding request isn't easy to fulfill.