[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [setTerritoryWarfare](./bitburner.gang.setterritorywarfare.md) ## Gang.setTerritoryWarfare() method If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. Set whether or not the gang should engage in territory warfare Signature: ```typescript setTerritoryWarfare(engage: boolean): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | engage | boolean | Whether or not to engage in territory warfare. | Returns: void ## Remarks RAM cost: 2 GB