Time for action – Save Level Statistics
The report that we will generate will be created as a .xml
file and can be opened by using Microsoft Excel.
Save Level Statistics can be printed out and accessed in two ways:
The first way is to open the Tools menu in Sandbox and navigate to the Save Level Statistics option.
The second way is to output the level statistics by using a console command. Triggering the writing of the data from the console is quite useful when running in the launcher.
Open the console in Sandbox.
Type the command
savelevelstats
.Performing this command through either of the two methods will create two
.xml
files under theroot directory\TestResults
folder.The name of these files contains the name of the level from which they were saved. For example, the two files in the following screenshot were saved from the
forest.cry
level:Note
These files are best opened with Microsoft Excel.
Open
Forest.xml
in Excel.The first tab of the save level stats printout gives some important information...