User Tag List

Results 1 to 2 of 2

Thread: Random Function (How to set different range?)

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Dec 2018
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb Random Function (How to set different range?)

    Hi,
    Is there any possible solution to choose random number from the set {1,5,18,26}?

    I need a random choice from 26 elements but sometimes I want for example leave out some of the numbers, for example {1-12,14-20,22-26}. (Change the range o RRandom??)

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module
    aa2953b4's Avatar
    Join Date
    Feb 2019
    Posts
    77
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Start of frame:
    -Add 1 to list
    -Add 5 to list
    -Add 18 to list
    -Add 26 to list

    Button clicked:
    Set counter to GetValue( "List", Random(GetSizeOfList( "List" )) )

Similar Threads

  1. Question re: Comparisons using Range function
    By Chrille in forum Fusion 2.5
    Replies: 0
    Last Post: 4th March 2016, 01:03 PM
  2. Random range with exception
    By Littlemaxy in forum Fusion 2.5
    Replies: 4
    Last Post: 23rd February 2016, 03:58 PM
  3. Randomizer function with custom range/returns
    By casleziro in forum Guides, Tutorials, Examples, Widgets
    Replies: 1
    Last Post: 11th February 2016, 08:07 PM
  4. Add random range value to variable
    By Chily in forum Fusion 2.5
    Replies: 3
    Last Post: 7th May 2015, 11:45 AM
  5. Range of Random Numbers
    By Jaklar in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 8th November 2014, 05:20 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
  •