Variables
You can store any number of user-defined variables, which are "strings" - that is they can hold any text, including multiple lines. These are saved when you save the "world" file, so each world can remember things from one session to the next (eg. the names of potions you have found).

You can also store variables inside plugins. If the plugin is set to "save state" then any variables inside that plugin are automatically saved when the plugin closes.


See Also ...

Topics

DOC_Arrays Arrays
DOC_plugins Plugins
DOC_scripting Scripting

Command

CMD_ID_GAME_CONFIGURE_VARIABLES ConfigureVariables (Sets program variables)

Dialogs

DLG_IDD_EDIT_VARIABLE Edit variable
DLG_IDD_PREFS_P18 Variables configuration (list)

Functions

FNC_DeleteVariable DeleteVariable (Deletes a variable)
FNC_GetVariable GetVariable (Gets the contents of a variable)
FNC_GetVariableList GetVariableList (Gets the list of variables)
FNC_SetVariable SetVariable (Sets the value of a variable)

(Help topic: general=variables)

DOC_contents Documentation contents page