复制文件


描述

With this action you can copy any file that has been saved by your game or has been bundled as part of the Included Files. You give the name of the file to copy (as a string) and then the name of the file to create as a copy of the original file (also as a string and including the file extension). The given file will be duplicated and given the new name.


动作语法:

Copy File Syntax


参数:

参数 描述
文件名 The name (as a string) of the file to copy
复制到 The name (as a string) of the file to be created as a copy


例如:

Copy File Example
The above action block code will check to see if an ini file does not exists and if it does not then it is created by copying another file.