Skip to main content

Condition_IsInTerritory

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

ParameterDescription
BaseObjectThe character whose location is checked against Common Territories.
CompareTypeType of comparison operation (Equal or NotEqual).
S1Territory tag to filter by. If empty (None), any Common Territory matches.

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if Self is inside any Common TerritorySelfIsInTerritoryEqual
Check if Self is inside a territory tagged "Beach"SelfIsInTerritoryEqualBeach
Check if Target is NOT in a territory tagged "Downtown"TargetIsInTerritoryNotEqualDowntown
Check if Self is outside all Common TerritoriesSelfIsInTerritoryNotEqual