Skip to main content

Condition_IsSiteType

Description

Checks whether the specified BaseObject is currently located in a site of the given site type (S1). Note: This condition requires BOTH Self and Target to be valid actors and to be located in the SAME site. If either is not set/valid or they are in different sites, this condition cannot be evaluated and returns false.

Parameters

ParameterDescription
BaseObjectThe object used as the reference (Self or Target).
CompareTypeType of comparison operation (Equal or NotEqual).
S1Site type to compare (EB1SiteType).

Examples

DescriptionBaseObjectCommandCompareTypeS1
Checks whether self is currently in a Residence site.SelfIsSiteTypeEqualResidence
Checks whether target is NOT in a Business site.TargetIsSiteTypeNotEqualBusiness