ds_map_create

Creates a new ds_map.

Syntax:

GML Code Example

ds_map_create();


Returns: Map id.


Description

This function is used to create a new, empty, ds_map and will return its id which is then used to access the data structure in all other ds_map functions.


Example:

GML Code Example

inventory = ds_map_create();

The above code will create a new, empty ds_map and store its id index in the variable "inventory".


Back: DS Maps
Next: ds_map_add



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