Blockland Forums > Modification Help

Move files?

Pages: (1/3) > >>

Pew446:

Can the torque game engine move files? I would like to create an add-on that includes files and moves them to a different folder. Is it possible? Or did Badspot run it over with a steamroller...


Chrono:

It never existed in the engine.

Kalphiter:


--- Quote from: Chrono on October 04, 2010, 03:45:15 PM ---It never existed in the engine.

--- End quote ---

--- Code: ---%from = "";
%to = "";
fileCopy(%from, %to);
fileDelete(%from);

--- End code ---
derp

Plornt:

filecopy()? no loving way

Kalphiter:


--- Quote from: Plornt on October 04, 2010, 03:48:17 PM ---filecopy()? no loving way

--- End quote ---
I know, I randomly founds those functions and I was surprised.
So much time and I didn't even know they existed.

Pages: (1/3) > >>

Go to full version