starting conditions are: castle daggerfall not discovered yet, saved the game inside, reloading this save
I tried to use the same mechanism as in PlayerGPS class in function GetBuildingDiscoveryData, something like:
Code: Select all
BuildingDirectory buildingDirectory = GameManager.Instance.StreamingWorld.GetCurrentBuildingDirectory();
BuildingSummary buildingSummary;
buildingDirectory.GetBuildingSummary(buildingKey, out buildingSummary);
buildingName = BuildingNames.GetName(
buildingSummary.NameSeed,
buildingSummary.BuildingType,
buildingSummary.FactionId,
buildingDirectory.LocationData.Name,
buildingDirectory.LocationData.RegionName);
How can I get it, I searched in GameManager.Instance.PlayerGPS as well as in GameManager.Instance.PlayerEnterExit but since ExteriorDoors is empty in there when inside castle daggerfall the door info is not available and thus no buildingKey
need help