Changes between Initial Version and Version 1 of Ticket #4326
- Timestamp:
- Nov 10, 2016, 2:11:39 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4326 – Description
initial v1 3 3 - Also it would be good to have a randomPick function to randomly pick an element from an array, so we don't need to do shuffle array and then pick array[0], and thus save some performance. 4 4 5 - This new pickRandom function can the be used in instances like {{{if (randNumber >0.5);else;}}} 6 5 7 - And last occurrences of {{{Math.round(Math.Random())}}} and similar expressions should be nuked into some RandInt() calls. 6 8