Mod API Reference:TerritoryModification: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
* '''WL.TerritoryModification.Create'''('''terrID''' ''[[Mod API Reference:TerritoryID|TerritoryID]]'') (static) returns [[Mod API Reference:TerritoryModification|TerritoryModification]]: | * '''WL.TerritoryModification.Create'''('''terrID''' ''[[Mod API Reference:TerritoryID|TerritoryID]]'') (static) returns [[Mod API Reference:TerritoryModification|TerritoryModification]]: | ||
[[Category:Mod API Reference]] |
Revision as of 17:33, 4 December 2018
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: