Setting the True/False Variables

Variables are tiny pieces of memory that keep track of different things in the game, that can be referenced by simple names (variable names). Scribe currently supports two types of variables-- Numeric, which can contain about any "whole number" (actually, from about -2 billion to +2 billion), and True/False variables which only hold a value of "TRUE" or "FALSE". You will use the variables to keep track of what's been going on in the game, and to make the game that much more involved.

To view/edit the True/False Variables for your game, click the 'True/False Variables' button from the main menu. You'll get a large text box in which you will define all of your variables your game will use, along with what their starting values are (either TRUE or FALSE).

To add new variables, simply enter them on a new line, followed by a space, and their starting value (again, TRUE or FALSE).

As an example, you might want to mark whenever the player first finds the princess, so that they only get points for finding her the first time. You would create a variable to keep track of this, something like "PRINCESSFOUND", that starts FALSE. When your player finds the princess, you could write Actions to check if the princess had been previously found, and if not, to increment their score, etc

Once you've got your variables defined, click the 'Update True/False Variables' button. (You'll notice that, by default, Scribe keeps them in all upper case. You can refer to them in lower case, and they will be seen as the same variable)

Once you're done with the changes, click the 'Return to Menu' button to get back to the main menu.

Return to ManualReturn to Scribe

Privacy Policy    Terms of Service    Link Partners    Our Link
Copyright 2001-2008    Content Use    Advertising Info