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
| Parameter | Description |
|---|---|
| BaseObject | Character whose location is used to find the site |
| CompareType | Type of comparison operation (Equal / NotEqual) |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if any clean object exists at Self's site | Self | HasAnyCleanObjectAroundTarget | Equal |
| Check if no clean object exists at Self's site | Self | HasAnyCleanObjectAroundTarget | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents