User Tag List

Results 1 to 4 of 4

Thread: Spreading values in a random order across an array

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Spreading values in a random order across an array

    Not sure I know how to word this properly, but I want to be able to have a set of random values (let's say 2, 10, 10, 5, 3, 8) then distribute them across an array in a random order (eg 1,1 = 10, 1,2 = 2, 1,3 = 10, 1,4 = 8, 1,5 = 3, 1,6 = 5) without repeating more than necessary (meaning that it shouldn't ever become 10, 2, 10, 10, 5, 5, etc). What's the easiest way to do this?

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or nevermind, I figured this out by basically adopting this person's method into MMF2 with a loop. Posting my solution for posterity in case anybody inept as I am finds this one day, threads that end on "problem solved" with no explanation for the problem are totally frustrating.

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Where's your solution?

    This is the most simple way.

    Attached files Attached files

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module

    Join Date
    Feb 2014
    Posts
    1,112
    Mentioned
    29 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by ChrisBurrows View Post
    Where's your solution?

    This is the most simple way.

    thanks dude, just what i needed

    (unlike the guy above with no answer after complaining about threads with no answer )

Similar Threads

  1. Couples of random values in an Array
    By K1kk0z90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th December 2011, 04:35 PM
  2. Duplicates and spreading values
    By KaiseanGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 14th January 2011, 03:14 PM
  3. Spreading Values Over New Objects
    By variant in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 29th November 2009, 04:26 AM
  4. a little problem with spreading values
    By ruffgang in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st July 2007, 10:23 AM
  5. Spreading Values
    By stAtrill in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 29th January 2007, 04:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •