[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [setTerritoryWarfare](./bitburner.gang.setterritorywarfare.md)
## Gang.setTerritoryWarfare() method
Enable/Disable 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
Set whether or not the gang should engage in territory warfare