User Tag List

Results 1 to 6 of 6

Thread: Number Input Extension

  1. #1
    Clicker Multimedia Fusion 2
    Gullyking's Avatar
    Join Date
    Dec 2009
    Location
    In the darkest recesses of the woods.
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Number Input Extension

    I'm looking for an object which allows player to input a number which can then be stored in an array. I have made similar systems before, but it takes making an up button, a down button from which to change the value and a counter to store the variable which can then be ascertained by an array. What I want is for a box to appear, player inputs number, the number goes immediately into an array. Anything like that?

  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: Number Input Extension

    Don't you just want either an Edit Box or an Up/Down Numeric Control?
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2
    Gullyking's Avatar
    Join Date
    Dec 2009
    Location
    In the darkest recesses of the woods.
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Number Input Extension

    Does the Edit box store values, or save them as strings? I need values. Up/Down Numeric Control sounds right, is there an object like that?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Number Input Extension

    It's included in Bonus Pack 1, look on the bar to the right side of the forum.

    The built-in Edit Box can store values perfectly well though. You can just save the contents as a file, or if you need to use the number directly in MMF, use its "Edit Value" expression.

  5. #5
    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: Number Input Extension

    Note that the Edit Value expression only handles integers, it doesn't like to do floats. For that you can use the Val(>String<) expression to convert a string to a number - floating point or not.
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Multimedia Fusion 2
    Gullyking's Avatar
    Join Date
    Dec 2009
    Location
    In the darkest recesses of the woods.
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Number Input Extension

    Thanks for the help You two. I will put this info to work.

Similar Threads

  1. Keyboard input vs player control input
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd August 2013, 09:00 PM
  2. 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
  3. Set Input Number crashes
    By Keith in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 28th September 2011, 09:04 PM
  4. How To Have a User Input A Number
    By MrXkill in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th July 2011, 02:01 PM
  5. Input Extension and Dialog Request
    By Kracker in forum Extension Development
    Replies: 11
    Last Post: 17th May 2011, 02:38 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
  •