User Tag List

Results 1 to 2 of 2

Thread: Pick two highest counters?

  1. #1
    Clicker 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)

    Join Date
    Jun 2015
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pick two highest counters?

    So, I have a series of seven counters in my game, and at the end of the game I want the two highest counters to be displayed. Is there a way to find the highest and second highest counters? If so, how do you deal with ties? Thanks.

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Use Sort X extension.

    Clear array
    Loop each Counter and add value to array
    Sort Array Descending
    Pick off two two numbers and find counter they belong to and show them.

Similar Threads

  1. Highest Score
    By tienny in forum Fusion 2.5
    Replies: 1
    Last Post: 11th September 2014, 11:50 AM
  2. Sorting from highest to lowest on iOS?
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 10
    Last Post: 27th November 2012, 09:56 PM
  3. from highest to lowest
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th January 2012, 04:29 PM
  4. How to know which object has the highest Y pos.?
    By Romain in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 6th August 2011, 10:05 PM
  5. <Request> Pick OBJ highest/lowest A. VAlue for IOS
    By Pedro Almeida in forum Extension Development
    Replies: 0
    Last Post: 5th August 2011, 03:50 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
  •