Intent is to allow scripts to save information in an entity, beyond the existing kludge of using the perk section of the temporary attribute table.
Required capabilities:
Allow more than integer types: floating point, string, Lua table, Entity reference
Include a global unique ID in each entity to ensure we can get to the proper custom data, and to allow references to persist across levels
Ensure ID and custom data are persisted to the save file
Support "weak" and "attached" entity references. Weak means the entity referred to currently exists in the level, but may not persist (or may disappear independent of the script code), requiring validation to ensure the entity reference is valid on each access. Attached means the entity is effectively "stored" in the reference, and will carry over with the player between levels if the entity belongs to a squad mate or their inventory.
Intent is to allow scripts to save information in an entity, beyond the existing kludge of using the perk section of the temporary attribute table.
Required capabilities: