Does anyone know how I could go about finding a marker tagged with the "LocationCenterMarker" keyword in a cell with "LocTypeInn" if I'm in the exterior of a parent location that has an inn?
I'd like to fill an alias to a marker with LocationCenterMarker for the inn in a particular city/town/whatever so that I can use that alias in an AI pack.
I did this, but it was a bit messy. Maybe someone has a better way.
1. I used http://www.creationkit.com/FindClosestReferenceOfAnyTypeInListFromRef_-_Game (there are a few functions that almost do the same thing, check them out in the links at the bottom)
2. Then I tested for the keyword (with HasKeyword): http://www.creationkit.com/HasKeyword_-_Form
But then I could make a FormList of all of the possible valid markers, and only needed to check the Keyword - which I had added - of the closest one. You may not be able to do that?
I wished there was a FindNearestWithKeyword type function ... but I could not find one ...
