Skip to main content

Condition_EnteredSiteHasTagByImpactPoint

Description

Checks whether the site containing the impact point (clicked / target location) has the specified site tag (S1). Unlike EnteredSiteHasTag, this condition ALWAYS uses the script context's target location (impact point), regardless of BaseObject or whether a target entity exists. Intended for ground/location click interactions (e.g. ClickMove) where discrimination must be based on the clicked spot, not where the actor is standing. By default, if the impact point is not on any site, the condition returns false. If S2 is set to "EvaluateOffSite", the condition is evaluated even when the impact point is not on a site.

Parameters

ParameterDescription
CompareTypeType of comparison operation (Equal or NotEqual).
S1Site tag to check for in the clicked site's tag list.
S2(Optional) Set to "EvaluateOffSite" to allow evaluation when the impact point is off-site.

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Checks if the clicked location's site has the "SiteTag_Beach" tagTargetEnteredSiteHasTagByImpactPointEqualSiteTag_Beach
Checks if the clicked location's site does NOT have "SiteTag_Beach"TargetEnteredSiteHasTagByImpactPointNotEqualSiteTag_Beach