Check Relation
Check Relation
True
False
- Group
- Conditions
- In the node menu
- Conditions › Family › Check Relation
- Where it can be used
- Scheme graphs
- Tags
- Also found as
- Is Parent
- Presets
What it does
Section titled “What it does”Check Relation asks how two actors are related. You name the first actor, a relation and the second actor, and the node asks whether the first one stands in that relation to the second. It continues through True when it does and through False when not. The card reads like a sentence: “Target is a relative of Conspirator”.
Example
Section titled “Example”Check Relation
Target is a relative of Conspirator
True
False
When to use it
Section titled “When to use it”Use it when kin changes the story: a parent, a child, a spouse, an uncle, a sister-in-law, or any blood relative.
Use Count Relatives instead to ask how many relatives of a kind an actor has. Use Check Marriage instead when the question is about marriages: married now, married before, or free to marry.
Good to know
Section titled “Good to know”- The menu has presets for the common relations, such as “Is Child”, “Is Spouse” and “Is Relative”.
- When both settings name the same actor, the card warns that the answer is always False.
- When either actor cannot be found, the node has no answer. If the other conditions do not settle the result, the flow stops there.
- The node can hold more conditions, joined by AND or OR, each with an optional NOT. The NOT switch of the node’s own condition shows only while the node has more conditions.
- The node also works as a row, called Family Relation, in the condition lists of Check and Wait Until.
- When the node reads the Target in a scheme that does not need a target, the card warns: in a run without a target the node has no answer, and the flow stops there unless the other conditions settle the result.
Settings
Section titled “Settings”| Label | Draft key | Type | Default | Shown if, tooltip and notes |
|---|---|---|---|---|
| Actor | Actor | ActorRef | "Target" | The actor whose relation is checked. |
| Relation | Relation |
| "Parent" | The relation the first actor must have to the second. Spouse includes a widowed partner. Brother-in-law / Sister-in-law: the husband / wife of a sibling. Relative means a blood relative: parent, child, sibling, grandparent, grandchild, uncle, aunt, nephew or niece (not spouses or in-laws). |
| Of | Of | ActorRef | "Conspirator" | The actor the relation is measured from. |
| draft only | Negate | bool | false |
|
| draft only | ExtraConditions | rows of ConditionData | not in the data |
|
Draft only: a draft sets it; the Studio has no row of its own for it.
Outputs
Section titled “Outputs”- True
- False
In a draft
Section titled “In a draft”"type""Check Relation"- Other
"type"names "Is Parent"- Presets (also a
"type") "Is Child": setsRelation=Child"Is Grandparent": setsRelation=Grandparent"Is Grandchild": setsRelation=Grandchild"Is Spouse": setsRelation=Spouse"Is Sibling": setsRelation=Sibling"Is Relative": setsRelation=Relative
"set"keysActor,Relation,Of,Negate,ExtraConditions"then"keys"True","False"- As a condition row
"kind": "Family Relation"
"<alias>": { "type": "Check Relation", "then": { "True": "<alias>", "False": "<alias>" }}