View Single Post
07/26/18, 01:35 PM   #3
SDPhantom
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 47
The syntax is also noted near the top of the file as:
Code:
local sv = ZO_SavedVars:New(savedVariableTable, version, [, namespace], defaults [, profile])
I actually discovered it by glancing over the code and found a spot that "didn't look right". The example, I made up by working backwards through the code to build a case where something follows the syntax for the API, but throws an error when run.