User Tag List

Results 1 to 2 of 2

Thread: Question and answer generator help

  1. #1
    No Products Registered

    Join Date
    Oct 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question and answer generator help

    Hi, my project goes like this:

    The user has to tell what the time is on a clock face by selecting from 4 different answers (buttons)

    How would i go about having MMF2 randomly generate these for me so that every time it draws a clock and then 1 correct answer i.e. 4 O'clock and then 3 incorrect answers?

    Any help will be greatly appreciated
    Mat

  2. #2
    No Products Registered

    Join Date
    Oct 2008
    Location
    Germany
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question and answer generator help

    The easy way to go is to use the "Random()" expression:

    Generate A Random Number
    This function retrieves a random number. The parameter you specify determines the maximum value of the random number. For example, random(5) generates random numbers between 0 and 4 inclusive. You can type Random(x) directly into the Expression Evaluator. You don't have to select the Special object function. Note: the maximum value for the parameter is 65535.
    - mmf2 help (the objects/inventory/special objects/the special object/expressions)

    This is an expression that you can use in the expression editor. Random() does not care if the same number is generated more than once. The best way therefore is to use the "Random Pool" extension, which will generate a whole bunch of unique numbers. You can download it here: http://www.clickteam.info/extensions/extview.php?id=216
    Read the extensions help file and you should know what to do.

    Good luck,
    lincore

Similar Threads

  1. Beta 23 Question and answer crash
    By Fernando in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 14th March 2012, 09:42 PM
  2. Answer to my question?
    By Koboltti in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th May 2010, 06:30 PM
  3. Question & Answer Object
    By VirtualLib in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th February 2008, 09:59 PM
  4. Question and answer object buggy.
    By 00J in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 12th December 2007, 05:24 AM
  5. question & answer object help
    By Snow in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th August 2006, 10:08 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
  •