Jump to content

[SOLVED] iterating through a folder for files in a package


photo

Recommended Posts

You can get the list of package files and iterate through it:

string files[0];
forloop(int i = 0; engine.filesystem.getNumPackages()) {
  engine.filesystem.getPackageFileNames(i,files);
  // files array contains the all file names from the package
}
Link to comment
×
×
  • Create New...