{"name":"BIS_fnc_priorityQueue_Init","title":"BIS fnc priorityQueue Init","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_priorityQueue_Init","revid":274279,"updated":"2021-06-13T01:19:56Z","groups":["Priority Queue"],"status":"ok","games":{"arma3":"1.86"},"since":"arma3 1.86","arma3_since":"1.86","description":"/*\n\nInitialize the Priority Queue data structure. The Priority Queue is sorted on inserting. Bigger numbers are set on higher indexes.","syntaxes":[{"syntax":"[] call BIS_fnc_priorityQueue_Init","params":[{"name":"_maxSize","type":"Number","type_expr":"Number","optional":true,"description":"sets the Queue MAX SIZE (otherwise it is set to the constant defined in the .inc file)","text":"INT - OPTIONAL, sets the Queue MAX SIZE (otherwise it is set to the constant defined in the .inc file)","source":"docblock"}],"returns":{"text":"_handle: Handle to the Queue (essential for manipulation with the Queue)","source":"docblock"}}],"examples":[{"code":["_priorityQueue_1 = [10] call BIS_fnc_PriorityQueue_Init;"]}],"docblock":{"text":"/*\n    Author: Zozo\n\n    Description:\n    Initialize the Priority Queue data structure.\n    The Priority Queue is sorted on inserting. Bigger numbers are set on higher indexes.\n\n    Parameters:\n    _maxSize:INT - OPTIONAL, sets the Queue MAX SIZE (otherwise it is set to the constant defined in the .inc file)\n\n    Returns:\n    _handle: Handle to the Queue (essential for manipulation with the Queue)\n\n    Syntax:\n    _handle:INT = [_maxSize] call BIS_fnc_PriorityQueue_Init;\n\n    Example:\n    _priorityQueue_1 = [10] call BIS_fnc_PriorityQueue_Init;","author":"Zozo"},"filled_from_docblock":["description","params","returns","examples"]}