JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
Bannerlord Wiki
Bannerlord Wiki
Type
Global Tables
Campaign
More
Share
Explore
Campaign
Settlements
Town
XML StructureGet Location Object from Settlement (Village)
XML Structure
<Settlement> XML
Embed
<Components> XML
Embed
<Locations> XML
Embed
Get Location Object from Settlement (Village)
Village.Settlement.LocationComplex.GetLocationWithId("village_center")
Here the GetLocationWithId() method takes a stringid that is attached to the LocationComplexList children.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.