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
| Parameter | Description |
|---|---|
| BaseObject | The character entity to check (Self or Target). |
| CompareType | Equal (a linked object exists), NotEqual (no linked object exists). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self has a linked object | Self | HasLinkedObject | Equal |
| Check if Self has no linked object | Self | HasLinkedObject | NotEqual |
| Check if Target has a linked object | Target | HasLinkedObject | Equal |
| Check if Target has no linked object | Target | HasLinkedObject | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents