Skip to content

Who? and condition lists

Most nodes act on a person, and many ask a yes-or-no question. The Who? picker chooses the person, even a relation such as Target’s spouse. A condition list holds the questions and says how they combine.

  • A node has a field with a person in it and you want to change it.
  • You want Target’s spouse or Conspirator’s heir instead of a named actor.
  • A check needs a second question, or an either-or.
  • You see Select… in a field and want to know how to fill it.

The picker is a small window of its own. It opens when you click a field that holds a person.

Who?
  • Conspirator
  • Target(chosen now)
  • THIS SCHEME
  • + New actor variable…
  • A specific actor…
  1. Title line. Who? on the first page. A deeper page shows its own title and a back arrow.
  2. Search box. Reads Search… while it is empty.
  3. The list. Conspirator and Target first, then sections such as THIS SCHEME. The checked row is the choice now.
  4. The relation line. The choice so far, with its relations, and the + relation button.
The Who? picker with the choice Target ▸ Spouse. The names and rows are the ones the picker writes.

A condition list is in the Element Inspector of a check node. The figure shows Check Opinion. Its own rows are the first condition, and the links under them add more.

Element Inspector
Check Opinion

Compares one character's opinion of another with a number.

Of
Conspirator

⇄ Swap

About
Target
Comparison
≥ Greater or Equal
Number
20
+Add another check+Add an 'or' group
The inspector of a Check Opinion node. It has the node's default values, and the Swap link sits above the second picker.

A check node has two outputs, True and False. When a condition has no answer, for example because its actor is not there, and the other conditions do not settle the result, the flow stops.

Click the button of a person field. It reads the choice in words, such as Target or Target’s spouse, and an empty field reads Select….

The picker opens below the field. To close it without a choice, press Escape on its first page.

Click a row, or move with Up Arrow and Down Arrow and press Return. The picker closes, and the field reads the choice.

The first two rows are Conspirator, the actor who runs the scheme, and Target, the actor it is against. The row for the current choice is checked.

To undo, choose Undo in Unity’s Edit menu (Unity’s undo key works too). Each pick is one undo step, named Pick Actor.

Type in the box. Each word you type has to appear in a row’s name, its detail, or its search words. The relations of every choice are searchable too: spouse of target finds Target’s spouse. So are the actors of your database.

With no match, the list says Nothing found. Press Escape to go back one page, or to close the picker on its first page. Backspace in an empty box goes back too.

The section THIS SCHEME lists the actor variables of the open scheme. The row + New actor variable… makes a new one: click it and type a name. The box says Type a name, then press Enter, and then Press Enter to create it, Escape to go back. The new variable is picked at once, in one undo step.

Hover text of the row: Adds an Actor variable to this scheme and picks it. Give it to a node’s Store In to fill it. The row is missing when the scheme cannot hold another actor variable, and in Play mode.

On a Decisions page, a decision made on behalf of someone has a row The one it is for, with the detail choose where it is stored first, until you have chosen a scheme variable under On Behalf Of. Hover text: Choose a scheme variable under On Behalf Of to hold the person. Then you can pick it here.

Use Current Actor, Candidate or a world actor

Section titled “Use Current Actor, Candidate or a world actor”

Three more sections appear only where they apply:

  • IN A LOOP offers Current Actor. It appears where a For Each Actor loop reaches the node.
  • BEING CHECKED offers Candidate. It appears in a Where list, which checks each candidate actor in turn.
  • WORLD lists the actor variables of the world.

If a field already holds Current Actor or Candidate where it does not apply, the row is still shown, in a warning colour, so you can replace it.

Click A specific actor…. A page titled A specific actor lists the actors of your database by name. Each row has a detail: the family as placed on the Families page, the age, and dead for a dead actor, for example Frostborn · 34. With no actor in the database, the page says No actor in the database.

A specific actor
  • OlafFrostborn · 34
The page that “A specific actor…” opens. Olaf is sample data.

Press Escape or click the back arrow to return.

Pick a person first. The line under the list then reads, for example, Target ▸ Spouse and ends with + relation. Click + relation. A page titled A relation of Target lists Spouse, Father, Mother, Eldest child, Heir, Personal heir, Clan head and Family head. Under ACTOR VARIABLES it lists the actor variables that belong to actors, such as Rival. After you pick one, the picker returns to its first page, where the line shows the new relation. Click + relation again to add a second.

A relation of Target
  • Spouse
  • Father
  • Mother
  • Eldest child
  • Heir
  • Personal heir
  • Clan head
  • Family head
The relation page for Target.

You can follow up to 4 relations. The button’s hover text is Follow a relation of this actor: spouse, father, heir, clan head, an actor variable such as Rival. At the limit it reads Up to 4 relations.

Hover over a relation. The text ends with a hint that says which person it gives when there could be several:

  • Spouse: The first spouse: the earliest marriage that still stands. For another one, use Find Actor among the spouses.
  • Father and Mother: The older one when there are two.
  • Eldest child: The oldest living child.
  • Heir: The first in line for the court role.
  • Personal heir: The first in line for the personal role.
  • Clan head: The living holder of the clan’s highest court role; if several, the oldest.
  • Family head: The living member with the highest court role, then one born into the family, then the oldest.

To take the last relation off, click the cross after it. Hover text: Remove the last relation. With no actor picked, the line says Pick who first, then add a relation.

In Play mode, + relation and the cross are grey.

The undo steps are named Add Relation, Remove Relation and Pick Actor.

Nodes about two characters, such as Check Opinion, have a link ⇄ Swap above the second picker. Hover text: Swap the two characters: each takes the other’s place. One click swaps them, in one undo step named Swap Characters.

The clan and family pickers, and the Store In fields, use the same window. The clan and family pickers are titled Which clan? and Which family?.

On a check node, click + Add another check. A menu opens. Its first entry is Another: and the node’s own kind, such as Another: Opinion. Below a line are the other kinds. Kinds with a group are in sub-menus, in this order: Actor, Family, Clan, AI, Scheme, Variables and Code.

Pick a kind, and a new condition appears under the node’s own rows. Each condition has a not switch, its kind’s name, a button with the hover text Condition options, and its own rows.

Hover text of + Add another check: Check something else in the same node. The node is True when the conditions together are met.

In a list that is a setting of a node, such as a Where list, the link reads + Add condition. Hover text: Add a condition to the list.

The undo step is named Add Condition.

Click not on a condition. It turns bold, and the condition then counts when its check is not met. Hover text: Turns this condition around: it counts when the check is not met. Click to switch. The options menu has the same switch, Turn around (not).

The node’s own condition shows not only while the node has more conditions. Undo step: Edit Condition NOT.

With two or more conditions, a line above them reads Met when, a choice of all or any, and of these are true:. all means every condition must be met. any means one is enough. The choice sets every condition’s join in one undo step, named Edit How Conditions Combine.

Click + Add an ‘or’ group, and its new condition starts a group. A thin OR row stands between two groups. Hover text of OR: Another way to pass: the list passes when all conditions of at least one group are met.

With groups, the line above the list reads Passes when every condition of any one group is true:. A paragraph Reads as then writes the list in words, for example (A and B) or (C).

You can also use the options menu of a condition. It has Start a new ‘or’ group here and, for a condition that starts a group, Join the group above. The undo step is named Edit Condition Join.

Open the options menu of a condition. It has Move up, Move down, and Remove. An entry is grey when it cannot be used.

The node’s own condition has only Turn around (not) and Remove. Remove is enabled when the next condition is of the same kind. To swap them, choose Move up on the next one.

Undo steps: Move Condition, Remove Condition.

A list longer than 12 conditions shows the first 12 and a row Show N more. Click it to see the rest, and Show fewer to fold them again.

You come from The Element Inspector, where these fields live. The next lesson is Folding: Then also.

For the requirements of a scheme, see Scheme settings and Requirement Sets page. To watch a check, use Test run: play a scheme in the Studio.

Most check nodes are in the Conditions group of the node reference.

None.

The field reads Select… Nothing is picked. Open the picker and pick a person.

The row I want is not in the list. Current Actor is offered only inside a loop, and Candidate only in a Where list. Variables of another scheme are not offered.

I picked the wrong relation. Click the cross after the last relation to take it off, and add another.

Message Where it shows What to do
Nothing found The picker, when your words match no row Change the words.
No actor in the database The page A specific actor Add an actor on the Actors page.
Up to 4 relations. Hover text of + relation Remove a relation first.
Only the first 4 relations are followed; the last one is ignored. (the last 2 are ignored. and so on with more) The node’s problems, for a field with more than 4 relations Remove the extra relations.
Nothing in this scheme stores an actor in the variable’s name and (code may). Hover text of a field that holds a scheme actor variable that no node fills Give a node’s Store In that variable.
Conditions 1 and 2 are the same. (the numbers vary) A warning in the inspector Remove one of them.
This condition could not be loaded (its kind no longer exists). Remove it. An error in a condition’s place Choose Remove in its options menu.