Skip to main content

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

ParameterDescription
BaseObjectThe entity to check.
CompareTypeSupported compare types: Equal, NotEqual.
S1The gathering type to match (e.g., Fishing, Mining). If empty, any gatherable type matches.

Examples

DescriptionBaseObjectCommandCompareType
Check if Target is any gatherable objectTargetIsGatherableObjectEqual
Check if Target is a Mining gatherable objectTargetIsGatherableObjectEqual
Check if Target is NOT a Fishing gatherable objectTargetIsGatherableObjectNotEqual