I want to create a function that will return whether the party is in friendly/neutral/enemy territory.
It seems I can get party's position, but that doesn't seems to help me much. I guess I could iterate through all settlements and get the kingdom from the closest settlement and check the relationship between the kingdom and party's kingdom. But that seems to cause a lot of calculations. Any easier ways to calculate whether a party is in friendly territory or not?
It seems I can get party's position, but that doesn't seems to help me much. I guess I could iterate through all settlements and get the kingdom from the closest settlement and check the relationship between the kingdom and party's kingdom. But that seems to cause a lot of calculations. Any easier ways to calculate whether a party is in friendly territory or not?