BIS_fnc_arrayShuffle

From Bohemia Interactive Community
Revision as of 13:51, 8 November 2016 by Zectbumo (talk | contribs)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*
	
	Description:
	This returns a new array with randomized order of elements from input array
	
	Parameters:
	_this: ARRAY
	
	Returns:
	ARRAY
	
	Example:
	[1, 2, 3] call BIS_fnc_arrayShuffle
	Returns: [2, 3, 1] (For example)
*/

//The container
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

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

Notes

Bottom Section

Posted on November 8, 2016 - 12:51 (UTC)
Zectbumo
The array that is passed in is modified by this operation even though the documentation says "returns a new array".