Skip to main content

Condition_HasAnyCleanObjectAroundTarget

Description

Checks whether any clean object (indoor or outdoor) exists at the site where BaseObject is located. Unlike HasCleanObject, this checks both indoor and outdoor clean objects regardless of the character's exact position.

Note

Returns true if the site has CleanObjectInDoor OR CleanObjectOutDoor. Uses the character's current location to find the site.

Parameters

ParameterDescription
BaseObjectCharacter whose location is used to find the site
CompareTypeType of comparison operation (Equal / NotEqual)

Examples

DescriptionBaseObjectCommandCompareType
Check if any clean object exists at Self's siteSelfHasAnyCleanObjectAroundTargetEqual
Check if no clean object exists at Self's siteSelfHasAnyCleanObjectAroundTargetNotEqual