The following built-in functions are defined in RGSS.
Loads the data file indicated by filename and restores the object.
$data_actors = load_data("Data/Actors.rvdata")This function is essentially the same as:
File.open(filename, "rb") { |f| obj = Marshal.load(f) }
However, it differs in that it can load files from within encrypted archives.
Saves the object obj to the data file indicated by filename.
save_data($data_actors, "Data/Actors.rvdata")This function is the same as:
File.open(filename, "wb") { |f| Marshal.dump(obj, f) }
It is unlikely you will ever use this function during a game, but it is defined as a counterpart to load_data.
Also, the built-in functions p and print are redefined for use in message box output.
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |