Skip to main content

Condition_HasRelationshipFlag

Description

Checks if BaseObject has the specified relationship flag against the counterpart. S2 controls the scope of the check:

  • Single: BaseObject has the flag toward the counterpart only.
  • Both: Both BaseObject and the counterpart have the flag toward each other.
  • SingleToAny: BaseObject has the flag toward at least one person in the relationship window.

Parameters

ParameterDescription
BaseObjectOwner of the relationship flag to check (Self or Target)
CompareTypeType of comparison operation (Equal, NotEqual)
S1Relationship flag ID to check
S2Scope of the check (Single, Both, SingleToAny)

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Self has a crush on TargetSelfHasRelationshipFlagEqualCrushSingle
Self does not have a crush on TargetSelfHasRelationshipFlagNotEqualCrushSingle
Both Self and Target have exchanged presentsSelfHasRelationshipFlagEqualGavePresentBoth
Self has a crush on at least someoneSelfHasRelationshipFlagEqualCrushSingleToAny