The "sys_queue_enqueue" Function
#
SyntaxArgument | Type | Description |
---|---|---|
id | string | The ID of the queue to add data to |
value0 … value14 | real/string | Optional: Up to 15 values which can be enqueued as a single set of data |
#
DescriptionVNgen 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.
Data enqueued with this script will be stored as a group occupying one slot in the queue, rather than a typical queue which only accepts one value in a slot.
If the target queue does not exist, it will be created. Note that queues created 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_enqueue
manually.