Skip to main content

Condition_EnteredSiteType

Description

Checks whether the SiteType of the site at the entity's current location matches the specified value. When CompareType is Equal, the site type at the test location must match exactly. When CompareType is NotEqual, the condition passes if the entity is on a site of a different type, or if the entity is not on any site at all.

Parameters

ParameterDescription
BaseObjectThe entity whose location is used to find the entered site (Self or Target).
CompareTypeEqual: site type must match; NotEqual: site type differs or not on any site.
S1SiteType to compare (EB1SiteType enum name, e.g., Residence, Business).

Examples

DescriptionBaseObjectCommandCompareTypeS1
Checks if Self is currently standing on a Residence siteSelfEnteredSiteTypeEqualResidence
Checks if Target is currently standing on a Business siteTargetEnteredSiteTypeEqualBusiness
Checks if Self is NOT on a Residence siteSelfEnteredSiteTypeNotEqualResidence
Checks if the target impact point is on a Park siteTargetEnteredSiteTypeEqualPark