Skip to main content

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

ParameterDescription
BaseObjectHousehold owner when S2 is Household; ignored when S2 is None
CompareTypeNot used; pass S1 as TRUE or FALSE instead
S1TRUE to check if a relationship exists; FALSE to check if not
S2None checks Self-Target; Household checks any BaseObject household member

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
A relationship has been formed between Self and TargetSelfHasRelationshipTRUENone
No relationship has been formed between Self and TargetSelfHasRelationshipFALSENone
Any Target household member has met SelfTargetHasRelationshipTRUEHousehold

Notes

S2=None preserves the legacy Self-Target direction regardless of BaseObject.