DragoonHP said it perfectly. I wish this forum software had a "like" button.
If you're a visual learner, you can watch the related
tutorial.
BTW, use the "..." button to choose variables from dropdown menus. You don't have to manually type
Variable["visited_weaver_once"] = true, although you can if you prefer.
In a big project, variables can pile up quickly. One way to organize them is to put some identifying info at the front of the name, such as "Weaver.visited". (Example:
Variable["Weaver.visited"] = true) This way you can have variables such as:
- Weaver.visited
- Baker.visited
- Farmer.visited, etc.
Then you can sort them alphabetically if you want. This is nice if you end up with other Weaver-related variables such as Weaver.insulted, Weaver.taughtSpinning, Weaver.knowsPlayersSecret, etc. They end up grouped together.
Alternatively, you can add these as custom fields to each actor. So the Weaver actor could have custom fields "visited", "insulted", etc. It keeps the variables list shorter. But personally I like to be able to see all of the variables in one place for a clear overview of the whole game.