buffer_async_group_option

This function sets some platform-specific options for the buffer group being saved/loaded. The options available are as follows:

IMPORTANT This function is only valid for PlayStation, Xbox and Nintendo Switch targets. On all the other targets it will do nothing.

 

Syntax:

buffer_async_group_option(option, value);

ArgumentTypeDescription
optionStringThe option to set.
valueReal or StringThe value to set (can be a real or string, depending on the option).

 

Returns:

N/A

 

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).