User Tag List

Results 1 to 3 of 3

Thread: Global Number

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Location
    Georgia
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Global Number

    Looking to have a min and Max to a global number this possible?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Global Number

    Not directly, but you could put in a couple of global events (under the event-grid tab from Application Properties) that always set the counter to your minimum/maximum if the value ever gets higher/lower than them.

  3. #3
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Global Number

    the above could work, or you could do something like:

    Code:
    --> Set GlobalValue to: max(MINIMUM, min(MAXIMUM, GlobalValue))
    though you'd have to do this every time you needed an action to change the value (or you could put it under an Always, but that might not work so well sometimes.

    this method does have the advantage that it never actually goes outside the min/max range (using comparisons, it will for a short time until it's corrected), which can be important for some events

Similar Threads

  1. Getting a random number between a negative and positive number
    By D_Light in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th January 2013, 10:51 PM
  2. Total number of Global Alterable Values question
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 16th May 2012, 10:08 PM
  3. [Request] Global Values that starts with a number
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th February 2008, 11:20 AM
  4. Number of Global Array Objects
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st March 2007, 10:09 PM
  5. Number of Global Values
    By Gerblegod7 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th January 2007, 12:43 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
  •