Condition_HasCleanObject
Description
Checks whether a clean object exists at the target location, distinguishing between indoor and outdoor. The indoor/outdoor status is determined by the target location's spatial attributes. WarpZone locations are treated as outdoor even if they have ceiling and floor.
Note
Uses TargetLocation from ScriptContext to determine the position. Indoor checks for CleanObjectInDoor; outdoor checks for CleanObjectOutDoor.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Not directly used; target location is used from context |
| CompareType | Type of comparison operation (Equal / NotEqual) |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if a clean object exists at target location | Self | HasCleanObject | Equal |
| Check if no clean object exists at target location | Self | HasCleanObject | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents