GetResourceConfig
Jump to navigation
Jump to search
This function is used to return the root node of a configuration file. (defined in meta.xml)
Syntax
xmlnode getResourceConfig ( resource theResource, string filename )
Required Arguments
- theResource: The resource from which the function calls the configuration file
- filename: The exact file name of the configuration file. (e.g. "file.xml" )
Returns
Returns the root node of the specified configuration file. If the file is corrupted, not defined in meta.xml or doesn't exist, returns false.