User Tag List

Results 1 to 4 of 4

Thread: keeping track of counters

  1. #1
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    keeping track of counters

    i've been in a private discussion with popcorn (who has been a big help) concerning things like object pairing and how mmf2 handles those operations.

    unfortunately, i need a way to destroy specific counters based upon other criteria.

    say i had a list, that could have a potential of 1 entry, or 10 entries (or lines). the contents of which will vary per line depending upon criteria held within an array. after the line is created at the start of the frame, i then create a counter with values correlating to whatever the line refers to according to the array. this is working fine for me now.

    the problem comes when deleting a line in the list. i can delete the line no problem, but i have no control over deleting the paired counter. i have no way of referencing the counter, because they do not allow naming conventions like a regular active object would. similar to strings, neither strings nor counters allow the definitions of alterable values. why is this?

    i'm looking for a way around this without incorporating another list to keep track of what was deleted. i've tried the >> pick one of >> "counter" >> destroy method, but that, as you expected, deletes just a random counter of the instance, and not the paired one i need.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Counters appear to have 'FixedValues', but i dont know if they work.

    If they do work, i assume they can be used as a referrance.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes it is possible to referrance and target a specific Counter with the help of a ForEach loop:
    https://dl.dropboxusercontent.com/u/...ngCounters.mfa

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you for the example, and the reference to an .mfx i definitely needed.

Similar Threads

  1. Keeping track of rank in a racing game
    By DelphaDesign in forum Multimedia Fusion 2 - Technical Support
    Replies: 23
    Last Post: 4th May 2013, 02:16 PM
  2. Overlaying a track
    By Kalis in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 19th September 2011, 11:04 AM
  3. How to Arc Track?
    By PandaExplosion in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th November 2010, 12:36 PM
  4. Moving along a track help
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 30th December 2009, 02:59 PM
  5. Unlocked doors and pressed switches keeping track
    By Atherton in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 14th June 2009, 09:32 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
  •