Condition_IsGatherableObject
Description
Checks whether the BaseObject entity is a gatherable object of the specified type. If S1 is empty, returns true for any gatherable object regardless of type.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The entity to check. |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | The gathering type to match (e.g., Fishing, Mining). If empty, any gatherable type matches. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Target is any gatherable object | Target | IsGatherableObject | Equal |
| Check if Target is a Mining gatherable object | Target | IsGatherableObject | Equal |
| Check if Target is NOT a Fishing gatherable object | Target | IsGatherableObject | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents