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
| Parameter | Description |
|---|---|
| BaseObject | The character currently occupying an object (Self or Target). |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | Optional action type filter. If set, requires the current action to match S1. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if the object Self occupies is owned by the non-base char | Self | IsOccupyingObjectOwnedBy | Equal | |
| Check if the object Self occupies is owned (while Sit action) | Self | IsOccupyingObjectOwnedBy | Equal | Sit |
| Check if the object Target occupies is not owned by non-base | Target | IsOccupyingObjectOwnedBy | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents