Select a specified amount of elements from an array without picking the same element multiple times.
_array | Input Array ARRAY |
_amount | Amount to select <NUMBER> |
New array with the specified amount of randomly selected elements ARRAY
_result = [[1, 2, 3, 4, 5], 2] call CBA_fnc_selectRandomArray; // _result => [2, 4] (random)
NeilZar