Skip to main content

Condition_HasLinkedObject

Description

Checks whether the specified character has any object linked to it. Checks are performed in priority order: ShopWorkerBehaviorComponent, then JobComponent, then HouseholdBiz recipe/activity.

Parameters

ParameterDescription
BaseObjectThe character entity to check (Self or Target).
CompareTypeEqual (a linked object exists), NotEqual (no linked object exists).

Examples

DescriptionBaseObjectCommandCompareType
Check if Self has a linked objectSelfHasLinkedObjectEqual
Check if Self has no linked objectSelfHasLinkedObjectNotEqual
Check if Target has a linked objectTargetHasLinkedObjectEqual
Check if Target has no linked objectTargetHasLinkedObjectNotEqual