Skip to main content

Condition_IsAffairWithMyPartner

Description

Checks whether the person currently being observed together with BaseObject's counterpart is in fact BaseObject's own partner. Resolves the counterpart (the opposite side of BaseObject) and its current Coop companions, then returns true if either the counterpart itself or one of its companions is BaseObject's partner. Used to detect that BaseObject is witnessing their own partner's affair.

Parameters

ParameterDescription
BaseObjectThe observer whose partner is being checked for (Self or Target)
CompareTypeType of comparison operation (Equal, NotEqual)

Examples

DescriptionBaseObjectCommandCompareType
Self is witnessing Target (or Target's companion) as Self's partner in an affairSelfIsAffairWithMyPartnerEqual
Self is NOT witnessing an affair involving Self's own partnerSelfIsAffairWithMyPartnerNotEqual
Target is witnessing Self (or Self's companion) as Target's partner in an affairTargetIsAffairWithMyPartnerEqual