GameEnvironment

Holds information about the game environment.

Summary
GameEnvironmentHolds information about the game environment.
Functions
NKGetSaveGamesListReturns a list of saves that match the proper version number of the save system
NKSaveExistsChecks if a current save exists or not
NKDeleteSaveFileDelete an existing save file from the disk

Functions

NKGetSaveGamesList

Returns a list of saves that match the proper version number of the save system

Returns

tableA LUA table in the following format
count,
saves[n] -- size of 'count'
{
  name,
  tooltip
}

NKSaveExists

Checks if a current save exists or not

Parameters

stringThe name of the save check

Returns

booltrue if the save exists, false if it doesn’t

NKDeleteSaveFile

Delete an existing save file from the disk

Parameters

stringThe name of the save to delete

Returns

booltrue if the save deleted, false if there was an error or the save doesn’t exist
Close