User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Every 100th

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export ModulePatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)
    Renatos's Avatar
    Join Date
    Jun 2006
    Location
    São Paulo, SP - Brasil
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Every 100th

    Is there a way that everytime a counter is added 100 to it, that adds 1 to counter without me coding every hundred?

    So lets say... Counter1 = 100 -> adds 1 to Other
    counter1 = 20000 -> add 1 to other. Without me having to do the all in between 100s?

    Hope this makes sense

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Location
    The Woodlands, TX
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 100th

    Use a second counter and reset it to 1 every time it hits 100. Add 1 to the first counter and move on.

    If Counter2 = 100
    Set Counter2 = 1
    Add 1 to Counter 1

    Is that what your looking for?

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export ModulePatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)
    Renatos's Avatar
    Join Date
    Jun 2006
    Location
    São Paulo, SP - Brasil
    Posts
    593
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 100th

    Yes, that will work. Thank you very much :-D

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 100th

    Or you could do
    Code:
    +Counter1 mod 100 == 0
    -Add 1 to other counter

  5. #5
    No Products Registered

    Join Date
    Aug 2006
    Location
    The Woodlands, TX
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 100th

    NP good luck

  6. #6
    No Products Registered

    Join Date
    Aug 2006
    Location
    The Woodlands, TX
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 100th

    I always forget about mod. Thanks for the reminder turboferret

  7. #7
    No Products Registered

    Join Date
    Jun 2006
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 100th

    No problem, mod is your friend <img src="/center/images/graemlins/wink.gif" alt="" />

  8. #8
    No Products Registered

    Join Date
    Jun 2006
    Posts
    323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 100th

    Thank you for finally making me realise the use for Mod! Dear godm it's been pestering me... maybe there are more uses but who cares, I'm happy for once. <img src="/center/images/graemlins/laugh.gif" alt="" />

    Is there any explanation for the uses of "Power" and the "bit-wise" stuff too?

    EDIT: I just found out what power is myself. I knew what it was, but only the Swedish term for it. <img src="/center/images/graemlins/smile.gif" alt="" />

  9. #9
    No Products Registered

    Join Date
    Jun 2006
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every 100th

    Wikipedia.org has a great article on bit-wise operators, check it out.

  10. #10
    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: Every 100th

    ...You can do bitwise operators in MMF? No way!!! <img src="/center/images/graemlins/laugh.gif" alt="" /> <img src="/center/images/graemlins/laugh.gif" alt="" />

    Is there a way of doing bitshifts too? Or, even better, is there a list somewhere of all the operations like pow, mod, and, or, xor, and stuff I would have never known about had I been on this forum? <img src="/center/images/graemlins/smile.gif" alt="" />

    EDIT: Oh, I see... they're under the little click-button menus in the expression editor. Shoulda thought to look there ^_^

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Rounding to the nearest 10th, 100th
    By ffomega in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st February 2013, 02:48 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
  •