Count Relatives
Count Relatives
True
False
- Group
- Conditions
- In the node menu
- Conditions › Family › Count Relatives
- Where it can be used
- Scheme graphs
- Tags
- Also found as
- Spouse Count
- Presets
What it does
Section titled “What it does”Count Relatives counts one kind of relatives of an actor and compares the number with one you give. It continues through True when the comparison holds and through False when not. You choose the kind: spouses, children, parents, siblings, uncles and so on.
Example
Section titled “Example”Count Relatives
Children of Target ≥ 1
Living only
True
False
When to use it
Section titled “When to use it”Use it for a limit on a family: no children yet, at least two children, more than one spouse.
Use Check Relation instead to ask whether one actor is a given relative of another. Use Check Actors with a relatives group when some of the relatives must also meet a condition.
Good to know
Section titled “Good to know”- The second card line says whether dead relatives count. As a row in a longer list, the line ends in brackets instead: “(living only)” or “(dead ones too)”.
- The card warns when the comparison is always False or always True, for example a number of relatives of 0 or more.
- The menu has presets for the common kinds, such as “Child Count” and “Spouse Count”.
- When the 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 Number of Relatives, 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 | "Conspirator" | The actor whose relatives are counted. |
| Count | Relatives |
| "Spouses" | Which relatives of the actor are counted. |
| Number Is | Op |
| ">=" | How the number of relatives is compared with the number below. |
| Number | Count | integer | 1 | The number to compare with.
|
| Include Dead | IncludeDead | bool | false | Count dead relatives too. Off: only living relatives are counted. |
| 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""Count Relatives"- Other
"type"names "Spouse Count"- Presets (also a
"type") "Child Count": setsRelatives=Children"Parent Count": setsRelatives=Parents"Grandparent Count": setsRelatives=Grandparents"Sibling Count": setsRelatives=Siblings"Grandchild Count": setsRelatives=Grandchildren
"set"keysActor,Relatives,Op,Count,IncludeDead,Negate,ExtraConditions"then"keys"True","False"- As a condition row
"kind": "Number of Relatives"
"<alias>": { "type": "Count Relatives", "then": { "True": "<alias>", "False": "<alias>" }}