BIS fnc arrayShuffle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Undo revision 97824 by Zectbumo (talk) this will be corrected)
Line 53: Line 53:
[[Category:Functions|{{uc:arrayShuffle}}]]
[[Category:Functions|{{uc:arrayShuffle}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:arrayShuffle}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:arrayShuffle}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on November 8, 2016 - 12:51 (UTC)</dd>
<dt class="note">[[User:Zectbumo|Zectbumo]]</dt>
<dd class="note">
The array that is passed in is modified by this operation even though the documentation says "returns a new array".
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 20:00, 8 November 2016


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