| Blockland Forums > Modification Help |
| Move files? |
| << < (3/3) |
| Greek2me:
Try: --- Code: ---fileCopy("screenshots/Blockland_00019.png","base/Blockland_00019.png"); --- End code --- |
| Pew446:
--- Quote from: Greek2me on October 07, 2010, 11:07:41 PM ---Try: --- Code: ---fileCopy("screenshots/Blockland_00019.png","base/Blockland_00019.png"); --- End code --- --- End quote --- I love you. Thank you soo much!! :D |
| Greek2me:
yep, first arg is the file to copy, second is the file to copy it to. |
| Kalphiter:
--- Quote from: Greek2me on October 08, 2010, 03:36:23 AM ---yep, first arg is the file to copy, second is the file to copy it to. --- End quote --- Remember this, because most code in languages involving file systems do it in this fashion. |
| Pew446:
Alright. I made an add-on that moves files, but when it executes before Blockland loads, the console will loop, and the game will never load. :I |
| Navigation |
| Message Index |
| Previous page |