Description
Checks whether the BaseObject character is located inside a Common Territory with the specified tag.
If S1 is empty (None), the condition matches any Common Territory regardless of tag.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character whose location is checked against Common Territories. |
| CompareType | Type of comparison operation (Equal or NotEqual). |
| S1 | Territory tag to filter by. If empty (None), any Common Territory matches. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|
| Check if Self is inside any Common Territory | Self | IsInTerritory | Equal | |
| Check if Self is inside a territory tagged "Beach" | Self | IsInTerritory | Equal | Beach |
| Check if Target is NOT in a territory tagged "Downtown" | Target | IsInTerritory | NotEqual | Downtown |
| Check if Self is outside all Common Territories | Self | IsInTerritory | NotEqual | |