Difference between revisions of "BIS fnc arrayShuffle"

From Bohemia Interactive Community
Jump to navigation Jump to search
(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 19:00, 8 November 2016

Introduced with Arma 3 version0.58
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.58

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)
Example 1:
Example needed
See also:
See also needed

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