Untitled Document

ErrorID = SP GET LAST ERROR()
DESCRIPTION:

Returns the last error code occured loading a system file.The possible error codes are:

- 0 = SP_NO_ERROR - No error occured loading the system file.The Particle system is loaded and ready to use
- 1 = NO_GROUPS - no groups found in the file.The loading is stopped. (SP LOAD SYSTEM returns 0)
- 2 = NO_EMITTERS - No emitters found in the file.The loading is stopped. (SP LOAD SYSTEM returns 0)
- 3 = NO_INTERPOLATORS - No interpolators found in the file.The system is loaded however this warning is returned by sp get last error()
- 4 = NO_GRAPH_ENTRIES - No Graph Entries found in the file.The system is loaded however this warning is returned by sp get last error()
- 5 = NO_RENDERER - no renderer found in the file.The loading is stopped. (SP LOAD SYSTEM returns 0)
- 6 = NO_ZONE - some of the emitters have no zones defined.The system is loaded however this warning is returned by sp get last error()
- 20 = FILE_READ_ERROR - The file could not be read.The loading is stopped. (SP LOAD SYSTEM returns 0)
- 21 = FILE_NOT_EXISTS - The file not found on local hard drive.The loading is stopped. (SP LOAD SYSTEM returns 0)
- 22 = FILE_NOT_OPENED - The file could not be opened..The loading is stopped. (SP LOAD SYSTEM returns 0)
- 24 = TEXTURE_NOT_LOADED - The texture specified in the file could not be loaded.(image file is deleted or replaced , wrong path , etc) The system is loaded however this warning is returned by sp get last error()
- 25 = IMAGE_NUMBER_ILLEGAL - The image number specified in SP LOAD SYSTEM is illegal (<=0 or > 65535).The system is loaded however this warning is returned by sp get last error()
- 26 = NO_FREE_IMAGE_SLOT - All image slots are used by DBPro.The system is loaded however this warning is returned by sp get last error()
- 40 = VERSION_INCOMPATIBLE - You tried to load a system file with the older version of the plugin which was saved with a newer one
- 255 = UNKNOWN_ERROR - Unknown Error occured

PARAMETERS:
BACK TO MAIN HELP
BACK TO SYSTEM HELP