 |
 Setting the Numeric 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 Numeric Variables for your game, click the 'Numeric 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. There are a few numeric variables already defined,
but these should not be tampered with-- They're simply there so that your Actions (later on) will be able to extract important game information.
To add new variables, simply enter them on a new line, followed by a space, and their starting value.
As an example, you might want to count the number of times the player does something specific. You would define the variable in the Numeric Variables
area (along with a starting value of 0), and your Actions later on can increment that variable whenever the player does whatever it is you're counting.
Once you've got your variables defined, click the 'Update Numeric 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.
|  |