User Tag List

Results 1 to 5 of 5

Thread: Random numbers?

  1. #1
    Clicker Multimedia Fusion 2
    Pixzel's Avatar
    Join Date
    Jul 2010
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random numbers?

    I'm trying to put this in the expression evaluator:

    random(6710886, 9737364, 12632256, 16777215)

    As in I want the random number generator to pick between those four numbers. But it's not working. I tried to find another way to go about doing this, but I can't find a way. Anyone know?

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make a list with those four numbers and set the line to random(4)

  3. #3
    Clicker Fusion 2.5+ DLCMultimedia Fusion 2HTML5 Export Module
    Kentronisk's Avatar
    Join Date
    Nov 2011
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can tell you a way to do it at least!

    Use a counter with random(3) and make 4 events, one for each number the counter get. Then make an action in each one that is sending your number to the destination, whatever that is!

  4. #4
    Clicker Multimedia Fusion 2
    Pixzel's Avatar
    Join Date
    Jul 2010
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A list of numbers like this?
    [6710886, 9737364, 12632256, 16777215]

    Sorry I don't comprehend what you mean by set the line to random(4).

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    No, a list like this:
    Attached files Attached files
    Working as fast as I can on Fusion 3

Similar Threads

  1. Random Numbers and expiring the result numbers.
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th April 2013, 04:11 PM
  2. Random numbers?
    By infinitum3d in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 21st March 2012, 04:07 PM
  3. random numbers
    By nick_Peoples in forum The Games Factory 2 - Technical Support
    Replies: 12
    Last Post: 10th February 2010, 12:51 AM
  4. Random Numbers Greater then Random Numbers...
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th April 2009, 06:24 AM
  5. random numbers
    By delusan in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 24th March 2007, 05:09 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
  •