User Tag List

Results 1 to 5 of 5

Thread: Detecting a counter change

  1. #1
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Detecting a counter change

    How can you determine whether a counter has changed, without having duplicate counters?

    I have counters which are always set to other values via calculations... e.g. 'to hit' bonus = (strgth x4)+other counters, etc, etc.

    For that reason, there are no events which actually adjust the counter, as it's all based on other counters.

    So, how do I pick up on when it changes, so I can create a flash on the toolbar temporarily.

    Cheers

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Detecting a counter change

    Fire an event whenever you change the counter?? I'll make an example if you just can't figure it out.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Detecting a counter change

    The counter doesn't change manually, that's my point, it's only adjusted via an 'always' event...

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Detecting a counter change

    Can't you just use an alterable value of some object that never gets destroyed?
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Detecting a counter change

    Ah, sorted - the solution is always easy once done...

    Used the Alt Values of an object as suggested above - set to the various counters at the start of the level, then when it differs from the counters on screen, it actions the event and sets the Alt value to the same again...

    Cheers LB

Similar Threads

  1. Change font size of counter problem
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 19th January 2013, 05:08 PM
  2. Adding Half a Counter's Value to Another Counter
    By soloman in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 28th June 2010, 10:30 AM
  3. Detecting the ALT keys
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 8th October 2007, 08:09 PM
  4. MMF2 - Change Counter Font Color via Properies
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd September 2007, 08:09 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
  •