Skip to main content

The "sys_queue_destroy" Function

Syntax#

sys_queue_destroy(id);
ArgumentTypeDescription
idstringThe ID of the queue to destroy

Description#

VNgen uses a custom queue system for certain data to afford greater control over when and how it is applied. This is not the same as GameMaker Studio's built-in queue data structures and should not be used as a replacement for them.

This script will clear the target queue of all data, if any exists. Note that queues destroyed this way can never be entirely removed from memory, therefore VNgen queues should never be used for regular data.

As this script is run automatically by any actions that require delayed data execution, it is almost never necessary to run sys_queue_destroy manually.