User Tag List

Results 1 to 3 of 3

Thread: Search inside array for specific value?

  1. #1
    Clicker Fusion 2.5 Mac

    Join Date
    Dec 2008
    Posts
    245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Search inside array for specific value?

    Hi everyone.

    Is there any way to find a specific value inside an array?

    This is very specific, I must tell surface object where, in another surface object, there's a pixel of the same RGB value, and its X and Y position.

    In order to do this I saved all RGB values from both surface objects into arrays.

    Each pixel has a unique RGB value, so, I only needed to be able to "call" the position of the other pixel in order to proceed.

    Thanks a lot in advance.

  2. #2
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    177
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    use nest fastloop to iterate through the array I think.

  3. #3
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    676
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    You could also use the MagicDeque extension - which is an array with way more features including search and foreach loops- , windows only though.

Similar Threads

  1. How to search a specific global value?
    By Decoamorim in forum Fusion 2.5
    Replies: 5
    Last Post: 30th August 2014, 03:25 PM
  2. Search inside edit box for text, trigger event.
    By Kingoftaurus in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th May 2010, 04:33 AM
  3. Search a folder for a specific file?
    By picklecow in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 28th November 2009, 07:50 PM
  4. search inside files?
    By Chokito in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 24th November 2008, 02:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •