07-10-2008, 12:31 AM
|
Incubator
|
|
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
|
|
Its a simple concept, loadfolder() will only include filenames that fit the wildcard. So obviously if you do loadfolder("levels/*.nw", 0); its only gonna include nw files in the array, there is no need to use variable.ends() to check extension unless you're dealing with more than one or something. If dealing with more than one it would probably be easier to use more than one loadfolder with different extensions.
Zero I don't think you understand how the function is working. |
|
|