My script:
$filecount = getFileCount("Add-Ons/Client_Textures/Textures/*.png");
for(%i = 0; %i < $filecount; %i++){
^%file = findNextFile("Add-Ons/Client_Textures/Textures/*.png");
^if(!isFile("base/data/shapes/" @ fileName(%file))){
^^fileCopy(%file, "base/data/shapes/" @ fileName(%file));
^}
}
Makes Blockland's console loop at startup, and never stop. So the game never loads.
Is it because I'm copying to base? Is it the for loop? ;-;
Please help...