{"name":"BIS_fnc_kbPriority","operator":null,"title":"BIS fnc kbPriority","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_kbPriority","revid":309839,"updated":"2022-05-05T12:09:52Z","groups":["Conversations"],"status":"ok","replaced_by":[],"games":[{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Set conversation priority. Conversations with priority not in the list won't be played","syntaxes":[{"syntax":"_this call BIS_fnc_kbPriority","since":null,"effect":null,"exec":null,"params":[{"name":"_this","type":"Array, Number","types":["Array","Number"],"optional":false,"default":null,"description":"ARRAY - List of priorities. Empty array will just return current value.\nNUMBER\n    >0 - add priority to already existing list\n    <0 - remove priority from already existing list\n    Priority 0 cannot be tempered with","since":null,"text":"ARRAY - List of priorities. Empty array will just return current value.\nNUMBER\n    >0 - add priority to already existing list\n    <0 - remove priority from already existing list\n    Priority 0 cannot be tempered with","source":"docblock"}],"returns":{"type":"Array","types":["Array"],"description":null,"text":"ARRAY - List of priorities","source":"docblock"},"inferred":true}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Function Group: Conversations","Functions","Introduced with Take On Helicopters version 1.00","Take On Helicopters: Functions","Take On Helicopters: New Functions"],"docblock":{"author":null,"description":"Set conversation priority. Conversations with priority not in the list won't be played","params":[{"index":null,"name":"_this","types":["Array","Number"],"optional":false,"default":null,"description":"ARRAY - List of priorities. Empty array will just return current value.\nNUMBER\n    >0 - add priority to already existing list\n    <0 - remove priority from already existing list\n    Priority 0 cannot be tempered with","text":"ARRAY - List of priorities. Empty array will just return current value.\nNUMBER\n    >0 - add priority to already existing list\n    <0 - remove priority from already existing list\n    Priority 0 cannot be tempered with"}],"returns":{"types":["Array"],"text":"ARRAY - List of priorities"},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\nSet conversation priority. Conversations with priority not in the list won't be played\n\nParameter(s):\n_this:\n    ARRAY - List of priorities. Empty array will just return current value.\n    NUMBER\n        >0 - add priority to already existing list\n        <0 - remove priority from already existing list\n        Priority 0 cannot be tempered with\n\nReturns:\nARRAY - List of priorities"},"filled_from_docblock":["description","params","syntax","returns"]}