BIS fnc arrayShuffle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function|= Comments " to "{{Function|Comments= ") |
m (Text replacement - "|Game version=" to "|Game version= |gr1= Arrays |GROUP1") |
||
Line 5: | Line 5: | ||
|0.58|Game version= | |0.58|Game version= | ||
|gr1= Arrays |GROUP1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 09:23, 6 October 2020
Description
- Description:
- GROUP1 ____________________________________________________________________________________________
- Execution:
- call
- Groups:
- Arrays
Syntax
- Syntax:
- Return a new array with randomized order of elements from input array.
- Parameters:
- array: Array
- Return Value:
- array call BIS_fnc_arrayShuffle
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
- See also:
- Array - a new array instance
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note