Condition_HasStolenObject
Description
Checks whether the specified character possesses any stolen objects. The search scope can be controlled via S1: if set to Inventory, only stolen objects in the inventory are checked; if set to Grab, only currently grabbed objects are checked; otherwise both are checked. S2 controls whether system-owned objects are included in the search.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character to check (Self or Target). |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | Scope filter: Inventory (inventory only), Grab (grabbed only), or empty (both). |
| S2 | Set to IncludeSystem to include system-owned objects in the search. |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|---|---|---|---|---|
| Check if Self has any stolen object | Self | HasStolenObject | Equal | ||
| Check if Self has stolen objects in inventory | Self | HasStolenObject | Equal | Inventory | |
| Check if Target is holding a stolen object | Target | HasStolenObject | Equal | Grab | |
| Check including system objects | Self | HasStolenObject | Equal | IncludeSystem |
Back to Command FinderSearch and filter all 491 Script Condition documents