API:SaveVariablesPerCharacter

Registers a variable to be saved automatically after the SAVE_VARIABLES (need confirmation) event is triggered. The variable is automatically loaded before the VARIABLES_LOADED (need confirmation) event is triggered. The variable is saved in the My Documents/Runes of Magic/CHARACTER_NAME/SaveVariables.lua file.

Arguments

 * variableName
 * String - The name of your variable. NOT the actual variable. Note that it doesn't save functions, threads, or userdata.

Returns

 * none

Related Functions

 * SaveVariables
 * LoadVariablesAnchor
 * SaveVariablesAnchor