Description
Get the highest priority in the queue
Syntax
[] call BIS_fnc_priorityQueue_GetHighestPriority
Parameters:
_handle— INT - Queue handle (get it with BIS_fnc_PriorityQueue_Init)
Returns: _priority:SCALAR - the priority
Examples
Example 1
_myItem = [_priorityQueue_1] call BIS_fnc_PriorityQueue_PopItem;
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:
Get the highest priority in the queue
Parameters:
_handle:INT - Queue handle (get it with BIS_fnc_PriorityQueue_Init)
Returns:
_priority:SCALAR - the priority
Syntax:
_item:ANY = [_handle] call BIS_fnc_PriorityQueue_GetHighestPriority;
Example:
_myItem = [_priorityQueue_1] call BIS_fnc_PriorityQueue_PopItem;
*/