Hi,
I'm trying to diplay some information about Entities in a Sector. I can get a list of Entities and check what they are with hasComponent or hasScript (thanks to the "useful c43 detector" mod). But I don't know how to proceed from there.
For examle if i find an Entity that has the TurretLoot Component (a dropped Turret drifting through space) how do I get information about the Turret itself (rarity, weapon-type)? The Entity has some properties, but no property or function for TurretTemplate or InventoryItem. Are they not documented, or is there a different way i don't see?
i also tried the CreateTemplateFromTurret global Function, but it doesn't seem to work with lootable turrets.