Skip to main content

Condition_IsOccupyingObjectOwnedBy

Description

Checks whether the object currently occupied by the BaseObject character is owned by the non-base character (the counterpart resolved from the script context). Ownership includes household-level ownership and wallet-sharing across household members. If S1 is specified, the condition additionally requires that the BaseObject character's current action type matches S1.

Parameters

ParameterDescription
BaseObjectThe character currently occupying an object (Self or Target).
CompareTypeSupported compare types: Equal, NotEqual.
S1Optional action type filter. If set, requires the current action to match S1.

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if the object Self occupies is owned by the non-base charSelfIsOccupyingObjectOwnedByEqual
Check if the object Self occupies is owned (while Sit action)SelfIsOccupyingObjectOwnedByEqualSit
Check if the object Target occupies is not owned by non-baseTargetIsOccupyingObjectOwnedByNotEqual