Variables
Overview
Creating variables are done via the Variable Editor
under the Game Editors
tab on the main interface.
Managing Variables
- Clicking on the first icon will create a new variable.
- Clicking on the variable in the list and clicking the second icon will delete that variable.
- Clicking on the third icon will sort the variables in alphabetical order.
- Clicking on the fourth icon will revert changes to a variable (Does not revert deletion).
Adding Variables
Variable Type
Clicking these allows you to add/edit the variables defined. (
Player Variables
,Global Variables
,Guild Variables
,User Variables
).
- Player variables: These variables are saved within a character instance.
- Global variables: These variables are saved by the server which you can manually change the values within the Variable Editor.
- Guild variables: These variables are saved inside a guild instance.
- User variables: These variables are saved within an account instance.
Variable List
Clicking on the variable in this list will open the variable editor container window.
Variable Editor
-
Name: Allows you to set a name for your variable.
-
Folder: Clicking on the + next to this field will allow you to create a folder for variable organization.
-
Type: Allows you to set a variable type. The options are (
Boolean
,String
,Integer
) -
Text Id: Allows you to set an ID which can be called within a text event command. The variable text commands are below.
\pv{ID} will show you the player variable within a text event command. \gv{ID} will show you the global variable within a text event command. \guildvar{ID} will show you the guild variable within a text event command. \uservar{ID} will show you the user variable within a text event command.