Counters and scores
Counts and scores are number attributes that effects change. Use them for points, visits, stock, places left, completed steps, or anything else you count.
A personal score
Section titled “A personal score”- Add a number attribute called
Points, with Scope Entity, Min0, and a Max high enough, such as100000. - Give it to the entity template people control, such as Person, in its Attributes card.
- In the action that earns points, add the effect Change an entity’s
attribute and tap its pills until it reads Increase Points of the
performer by 10:
- Pick Points.
- For the value, choose increase by and enter
10. - Change the target to the performer.
Choose decrease by to take points away. Points never go below Min or above Max.
Counting at a place
Section titled “Counting at a place”To count how often a place is visited, give the place’s entity template,
such as Checkpoint, a Visits attribute. In the action, add the
effect Change an entity’s attribute so it reads Increase Visits of
the target by 1. The
tutorial builds exactly this.
Count each visit once
Section titled “Count each visit once”To stop someone checking in at the same place twice:
- Add a relationship
Visited, from Person to Checkpoint. - In the
Check inaction, tap the target pill, which asks Who can Check in be aimed at? Keep each one is a Checkpoint, then tap Add a clause, choose has a link to, and make it read the performer has no Visited to each one. The new clause starts the other way round, so check the two sides. The action’s sentence then ends a Checkpoint they have no Visited to. - Add the effect Create a relationship, so it reads Make Visited from the performer to the target.
Someone who has already checked in at a checkpoint can’t check in there again.
Team scores
Section titled “Team scores”If people are in teams, give Team a
Points attribute. In the action, add Change an entity’s attribute
for the team’s Points, then tap the target, choose the
performer, and add the hop Member of → after it. The effect reads
Increase Points of the performer › Member of → by 10. Each member’s
action then adds to their team’s score.
A scenario-wide counter
Section titled “A scenario-wide counter”For one shared number, such as places left, use an attribute with Scope Scenario, and the effect Change a scenario attribute.
Reacting to a score
Section titled “Reacting to a score”To do something when a score reaches a target, such as 100:
- Add a trigger attached to The whole scenario, on An entity’s attribute changes. In its When sentence, tap any attribute, turn off Any and pick Points.
- Tap Add a condition at the end of the When sentence, change the clause to compares a value, and make it read the Points of the one it happened to is at least 100. Then turn on becomes true in the clause’s card.
- Add the effects under Then do, such as Apply a trait, reading Give Gold to the one it happened to, or Complete the scenario.
becomes true makes it fire at the moment the score crosses 100, not every time it changes afterwards. It fires again only if the score drops below 100 and climbs back. It’s offered only in Only when, not in Only if still true.
Seeing scores
Section titled “Seeing scores”There’s no leaderboard screen. Scores show:
- on each entity’s page, under Attributes,
- on the Your entity card on the scenario’s page, for an entity you control,
- on the timeline, as each one changes (“Points went from 10 to 20”).
To keep scores private, hide Attribute values in Who sees what.