User Tag List

Results 1 to 4 of 4

Thread: Select Lowest Value in Group of Values

  1. #1
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    MasochisticGamer's Avatar
    Join Date
    Nov 2012
    Location
    Gravois Mills. MO USA
    Posts
    76
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Select Lowest Value in Group of Values

    I have 8 Global Values being used for Weapon Energy in my game. I'm trying to figure out a function that selects the global value with the lowest value of those 8 (like if you were to pick up weapon energy, it would refill the lowest value first).

    Anyone have an example of that laying around? Thanks in advance.

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,284
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    I'd imagine you would want to start a loop somewhere. During the loop would compare/check all the different values. Then to activate regeneration script when the loop finds the lowest one.

    Yea I don't really have an example for this, but I'm sure it could be as simple as setting up a fast loop condition. Maybe if I have more time, I could prob work on something.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    301
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

  4. #4
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    MasochisticGamer's Avatar
    Join Date
    Nov 2012
    Location
    Gravois Mills. MO USA
    Posts
    76
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you, @alexexhowl . I really appreciate it.

Similar Threads

  1. Replies: 10
    Last Post: 28th August 2017, 01:16 AM
  2. Replies: 5
    Last Post: 2nd September 2016, 02:35 PM
  3. Saving Group info to Global Values
    By matt_barr in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd October 2009, 05:37 PM
  4. How to change name of the values of group?
    By Grim in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 6th October 2009, 11:31 AM
  5. [Request]Select Object - Select in events?
    By LB in forum Extension Development
    Replies: 1
    Last Post: 15th July 2009, 11:55 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
  •