string GetEntityName()/ETHEntity

Returns the entity name. By default, the entity name is equivalent to its original file name, e.g. "zombie.ent", but entity names may be changed in the Scene Editor or with AddEntity:

int id = AddEntity("zombie.ent", vector3(200,200,0), "special_zombie");
ETHEntity@ specialZombie = SeekEntity(id);
print("Entity name: " + specialZombie.GetEntityName());

Output:

Entity name: special_zombie