ZGameEditor Documentation
Community |
FileFileRepresents a file on disk. This can be used to read data into variables, or writing data from variables. See also: FileAction, FileMoveData. Example usage: "FileDemo" and "FpsDemo" sample projects. PropertiesFileNameThe name of the file that will be opened, in a path relative to the current project. Examples: "Data.txt", "levels\Level" FileNameFloatRefThe name of a property that will have its value appended to the FileName. The value is rounded to the nearest integer. For example if FileName is "LevelMap" and FileNameFloatRef is set to a variable named "LevelNr" with a value of 5 then the file opened will be "LevelMap5". FileEmbeddedEmbed a file into your project so that you only need to redistribute the exe-file alone. If this property is set then FileName and FileNameFloatRef properties are ignored. EncodingControls how data will be parsed when reading from the file.
TargetArraySet this to an array that the data will be written to or read from. OnReadA list of the commands that will be executed when a read FileAction is issued. For reading data into variables use the FileMoveData - component. OnWriteA list of the commands that will be executed when a write FileAction is issued. For writing data from variables use the FileMoveData - component. SizeSize of the file. This is set when FileAction Read is executed. PositionCurrent read/write position in the file. |