Mod API Reference:TerritoryModification: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''TerritoryModification''':  
'''TerritoryModification''':  
* '''TerritoryID''' ''[[Mod API Reference:TerritoryID|TerritoryID]]'':
* '''AddSpecialUnits''' ''Array<[[Mod API Reference:SpecialUnit|SpecialUnit]]>'':  
* '''AddSpecialUnits''' ''Array<[[Mod API Reference:SpecialUnit|SpecialUnit]]>'':  
* '''SetArmiesTo''' ''[[Mod API Reference:Nullable|Nullable]]<integer>'':  
* '''SetArmiesTo''' ''[[Mod API Reference:Nullable|Nullable]]<integer>'':  
* '''SetOwnerOpt''' ''[[Mod API Reference:Nullable|Nullable]]<[[Mod API Reference:PlayerID|PlayerID]]>'':  
* '''SetOwnerOpt''' ''[[Mod API Reference:Nullable|Nullable]]<[[Mod API Reference:PlayerID|PlayerID]]>'':  
* '''TerritoryID''' ''[[Mod API Reference:TerritoryID|TerritoryID]]'':
* '''SetStructuresOpt''' ''Table<[[Mod API Reference:StructureType|StructureType]] (enum),integer>'': Sets the number of structures, such as [[cities]], on this territory.  Nil to simply make no changes.


== Functions ==
== Functions ==


* '''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]]:

Revision as of 22:55, 8 August 2017

TerritoryModification:

Functions