Condition_HasRelationship
Description
Checks whether any relationship has been formed between the selected characters (i.e., whether relationship points have ever been accumulated between them). Returns true even for family or roommate relationships.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Household owner when S2 is Household; ignored when S2 is None |
| CompareType | Not used; pass S1 as TRUE or FALSE instead |
| S1 | TRUE to check if a relationship exists; FALSE to check if not |
| S2 | None checks Self-Target; Household checks any BaseObject household member |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|---|---|---|---|---|
| A relationship has been formed between Self and Target | Self | HasRelationship | TRUE | None | |
| No relationship has been formed between Self and Target | Self | HasRelationship | FALSE | None | |
| Any Target household member has met Self | Target | HasRelationship | TRUE | Household |
Notes
S2=None preserves the legacy Self-Target direction regardless of BaseObject.
Back to Command FinderSearch and filter all 491 Script Condition documents