Skip to main content

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

ParameterDescription
BaseObjectNot directly used; target location is used from context
CompareTypeType of comparison operation (Equal / NotEqual)

Examples

DescriptionBaseObjectCommandCompareType
Check if a clean object exists at target locationSelfHasCleanObjectEqual
Check if no clean object exists at target locationSelfHasCleanObjectNotEqual