Condition_HasFamilyRelationship
Description
Checks if the BaseObject has any family member of the specified relationship type in the family tree. Unlike IsFamilyRelationship, this does not require a Target; it only checks whether BaseObject has at least one relative of the given type.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character to check for family members |
| CompareType | Supported compare types: Equal, NotEqual |
| S1 | Family relationship type to look for (EB1FamilyRelationshipType) |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| If Self has a parent | Self | HasFamilyRelationship | Equal |
| If Self does not have a child | Self | HasFamilyRelationship | NotEqual |
| If Self has a sibling | Self | HasFamilyRelationship | Equal |
| If Target has a spouse | Target | HasFamilyRelationship | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents