Mod API Reference:TerritoryModification
TerritoryModification:
- TerritoryID TerritoryID:
- AddSpecialUnits Array<SpecialUnit>:
- SetArmiesTo Nullable<integer>:
- SetOwnerOpt Nullable<PlayerID>:
- SetStructuresOpt Table<StructureType (enum),integer>: Sets the number of structures, such as cities, on this territory. Nil to simply make no changes.
Functions
- WL.TerritoryModification.Create(terrID TerritoryID) (static) returns TerritoryModification: