User Tag List

Results 1 to 2 of 2

Thread: MSet maximium value of counter

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    478
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    MSet maximium value of counter

    Hi

    I have three lists with different number of strings. I want to read the number of strings into a counter at runtime.

    If I set maximum value of the counter fixed in the properties then that does work but if I at runtime do:

    Set Counter to Random(List Nb Lines( "List 2" ))+1
    Set maximium value to 20

    That does not work I still get numbers higher than 20 - I tried to change the order and put Set maximum value before the Set Counter but that does not change anything.

    Keli

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MSet maximium value of counter

    It's not totally clear to me what's going on here... but couldn't you just say:

    Set Counter to min(20, Random(List Nb Lines( "List 2" ))+1)

Similar Threads

  1. [Possible Bug] Counter with 0 as value
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 1st November 2012, 06:46 PM
  2. Adding Half a Counter's Value to Another Counter
    By soloman in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th June 2010, 10:30 AM
  3. Counter value?
    By Keli in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th November 2008, 08:36 PM
  4. Counter Help
    By noodles in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 3rd September 2008, 10:54 PM
  5. Bug : Counter bar
    By Sphax in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 14th December 2006, 09:35 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
  •