ds_map_secure_load

This function will create a ds_map containing the key/value data from a secure file.

Syntax:

GML Code Example

ds_map_secure_load(filename);


Argument Description
filename The name of the file to load the map data from.


Returns: Ds_map Index


Description

This function will load a previously saved ds_map from the given file. This file must have been previously created using the ds_map_secure_save() function, and, when loaded, the function will return the index of the ds_map that has been created from the loaded data. This ds_map index should be stored in a variable and used for all further function calls to this map.


Example:

GML Code Example

p_map = ds_map_secure_load("p_data.dat");

The above code will load a securely saved ds_map and store its index value in a variable for future use.


Back: DS Maps



No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here