buffer_async_group_option

Set various options for saving a buffer group asynchronously.

Syntax:

buffer_async_group_option(option, value);


Argument Description
option The option to set.
value The value to set (can be string or real, depending on the option).


Returns: N/A


Description

With this function you can set some platform specific options for the buffer group being saved. The options available are as follows:

IMPORTANT - This function is currently only valid for the PlayStation target module. on all the other targets it will do nothing.


Example:

buffer_async_group_begin("save_folder_name");
buffer_async_group_option("showdialog", false);
buffer_async_group_option("slottitle", "Catch The Haggis Save");
buffer_async_group_option("subtitle", "All your haggis are saved here!");
save = buffer_save_async(buff, "Player_Save.sav", 0, 16384);
buffer_async_group_end();

The above code starts a buffer group then sets the group options before it sets 4 files to save asynchronously. The group definition is then ended (at which point saving will begin).


Back: Buffers
Next: buffer_async_group_end
© Copyright YoYo Games Ltd. 2018 All Rights Reserved