DXScript::preLoadScript

Description
Pre-load script information, in this case, the filepath to the script, the function name to be executed and an identifier for the script. int DXScript::preLoadScript(const char *_identifier, const char *_filePath, const char * _functionName)

Returns
Zero for success, nonzero for failure. For more detail of a failure, this function returns a member of the eScriptReturns enumeration.

Example
DXScript *dxscr = new DXScript; dxscr->preLoadScript("test_pre_load", "scripts/callToMainByFunc", "main");