Condition_HasRelationshipRecord
Description
Checks whether BaseObject has a specific relationship record entry with the counterpart entity. Relationship records accumulate over time but older records may be removed when the list grows too large.
Note
Relationship records are added through Execute_RelationshipTalkRecord and similar actions. The record is stored on the owner side (the entity who performed the action toward the target).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character on whose record list the check is performed (Self/Target) |
| CompareType | Type of comparison operation (Equal, NotEqual) |
| S1 | Relationship record ID to look for |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Self received a proposal from Target | Self | HasRelationshipRecord | Equal | Propose_Success_Target |
| Self did not receive a proposal from Target | Self | HasRelationshipRecord | NotEqual | Propose_Success_Target |
| Self proposed to Target | Self | HasRelationshipRecord | Equal | Propose_Success_Self |
| Target received a proposal from Self | Target | HasRelationshipRecord | Equal | Propose_Success_Target |
Back to Command FinderSearch and filter all 491 Script Condition documents