BIS_fnc_arrayShuffle

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.58
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.58

Description

Description:
Return a new array with randomized order of elements from input array.

Syntax

Syntax:
array call BIS_fnc_arrayShuffle
Parameters:
array: Array
Return Value:
Array - a new array instance

Examples

Example 1:
[1,2,3] call BIS_fnc_arrayShuffle; // can return [1,2,3], [3,1,2], [2,3,1], [1,3,2], [2,1,3] or [3,2,1]

Additional Information

Execution:
call
Multiplayer:
-
See also:
sortBIS_fnc_sortByrandom

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section