Description
/*
Initialize the Priority Queue data structure. The Priority Queue is sorted on inserting. Bigger numbers are set on higher indexes.
Syntax
[] call BIS_fnc_priorityQueue_Init
Parameters:
_maxSize— INT - OPTIONAL, sets the Queue MAX SIZE (otherwise it is set to the constant defined in the .inc file)
Returns: _handle: Handle to the Queue (essential for manipulation with the Queue)
Examples
Example 1
_priorityQueue_1 = [10] call BIS_fnc_PriorityQueue_Init;
Function header
The comment at the top of the function's file in the game; this page's description, params, returns, examples come from it.
/*
/*
Author: Zozo
Description:
Initialize the Priority Queue data structure.
The Priority Queue is sorted on inserting. Bigger numbers are set on higher indexes.
Parameters:
_maxSize:INT - OPTIONAL, sets the Queue MAX SIZE (otherwise it is set to the constant defined in the .inc file)
Returns:
_handle: Handle to the Queue (essential for manipulation with the Queue)
Syntax:
_handle:INT = [_maxSize] call BIS_fnc_PriorityQueue_Init;
Example:
_priorityQueue_1 = [10] call BIS_fnc_PriorityQueue_Init;
*/