Skip to content

Random assignment

To mix things up, such as random partners, a secret buddy, or a random role, use a trigger that runs Before the scenario starts. That’s the only place ActualityPI can pick things at random, and it happens once, as the scenario starts.

Each person is linked to one other person, at random, so that everyone has exactly one partner and is someone else’s partner. This suits a secret buddy, peer review, or anything where each person is assigned someone.

  1. Add a relationship Assigned to whose sentences read Assigned to links a Person to a Person, Each Person has at most 1 Assigned to link going out and Each Person has at most 1 Assigned to link coming in.
  2. Add a trigger. Set When to Before the scenario starts.
  3. Under Then do, add Do something for each entity, and tap its pills until it reads For each of every Person, in a random order, last back to first:
    • Tap everyone, choose every…, pick Person and tap Done.
    • Tap in creation order, choose At random and turn on Last back to first.
    • Under Do, for each one, tap Add effect, choose Create a relationship, and make it read Make Assigned to from the one this pass is on to the one after it.

When the scenario starts, the people are shuffled into a circle and each is linked to the next.

The scenario needs at least two people: with only one, they’d be linked to themselves, and the scenario won’t start. To keep assignments secret, see Hidden information.

To give a role, such as an Inspector trait, to one person chosen at random:

  1. Add a trigger. Set When to Before the scenario starts.
  2. Under Then do, add Apply a trait for Inspector. Tap everyone, choose every… and pick Person. Then, under Add a hop after it, choose the first N by…, set How many to 1 and Which ones to At random.

The effect reads Give Inspector to every Person › the first 1 in a random order. Set How many to 2 for two inspectors.

This puts each person in a team at random, keeping the teams as even as possible. It uses the Team, Person and Member of set-up from Groups and teams, with at most 1 Member of link going out and no starting links.

  1. Add a trigger. Set When to Before the scenario starts.

  2. Add Do something for each entity for every Person, At random, with Last back to first left off. It reads For each of every Person, in a random order, stopping at the last:

  3. Under Do, for each one, add Create a relationship for Member of, from the one this pass is on. For where it goes:

    • Tap the second entity, choose every… and pick Team.
    • Under Add a hop after it, choose the first N by….
    • How many: 1.
    • Which ones: By a value. For the value, choose Number of… under Use something else, start it from each one, and add the hop ← Member of. Then choose Lowest first.

    The effect reads Make Member of from the one this pass is on to every Team › the first 1 by the number of those with Member of to each one, lowest first.

In random order, each person joins whichever team has the fewest members so far, so team sizes end up differing by at most one.

  • At random is only offered in Before the scenario starts triggers.
  • These triggers run once, when you tap Activate scenario. If one of their Require something to be true effects isn’t met, or any of their effects fails, the scenario doesn’t start.
  • They can create relationships, change attributes and apply traits, but can’t perform actions or end the scenario.
  • The start card can’t preview what they’ll do, so it may say Some checks can only run during activation. Test the template with a practice scenario.