{"name":"BIS_fnc_arrayShuffle","operator":null,"title":"BIS fnc arrayShuffle","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_arrayShuffle","revid":327476,"updated":"2022-07-12T22:13:51Z","groups":["Arrays"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.58"}],"since":{"game":"arma3","name":"Arma 3","version":"0.58"},"arma3_since":"0.58","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return a new array with randomized order of elements from input array.","syntaxes":[{"syntax":"array call BIS_fnc_arrayShuffle","since":null,"effect":null,"exec":null,"params":[{"name":"array","type":"Array","optional":false,"default":null,"description":null,"types":["Array"],"since":null,"text":"array: Array"}],"returns":{"type":"Array","types":["Array"],"description":"a new array instance","text":"Array - a new array instance"}}],"examples":[{"text":"```sqf\n[1,2,3] call BIS_fnc_arrayShuffle; // can return [1,2,3] (the original order), [3,1,2], [2,3,1], [1,3,2], [2,1,3] or [3,2,1]\n```","code":["[1,2,3] call BIS_fnc_arrayShuffle; // can return [1,2,3] (the original order), [3,1,2], [2,3,1], [1,3,2], [2,1,3] or [3,2,1]"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["sort","BIS_fnc_sortBy","random"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Arrays","Functions","Introduced with Arma 3 version 0.58"],"docblock":null,"filled_from_docblock":[]}