ds_priority_create

Creates a new priority queue, returning its id.

Syntax:

GML Code Example

ds_priority_create();


Returns: Real


Description

This function will create a new priority queue data-structure and return the index value. This value should be stored in a variable and used in all further function calls relating to the priority queue.


Example:

GML Code Example

p_queue = ds_priority_create();

This will create a new priority queue and assign its index id to the instance variable "p_queue".





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