User Tag List

Results 1 to 3 of 3

Thread: Random displaying problem!

  1. #1
    Clicker iOS Export Module

    Join Date
    Mar 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random displaying problem!

    Hi,

    I'm created this program that show a random string depending on what category you have selected in the option menu. It worked well 1 week ago. Now somehow, it doesn't work at all.

    I will try to discribe the problem. When a button is clicked it then picks a random object in a zone and changes the alt value a to 1.
    If picked object (only 1 for the moment) alt value a = 1 -> set global value "?" to 1+random(18).

    All this is very simple and works fine. How ever the next part i am realy scratching my head over, been staring at the problem for a long time and can't find any bugs, and it have been working before.

    if picked object alt value a = 1 -> display paragrafh of a specific string object, calculat out the number of the paragrafh option, and retrive the global value "?".

    The string pops up but only, paragrafh 1 is display. no matter what the global value "?" is.

    Any clues to what the problem can be ?

    I will add the MMF 2 File if anyone wants to take a look at it. the code is alittle bit more complexed :P then what i have tried to discribe.

    Any help would be appreiated.Random strings Doesn't work.mfa

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    There seems to be some weirdness with the Display Text action.

    Try this:
    Move the string object to where you want it to display and make is invisible
    Then use the set paragraph action to display the paragraph number selected in your alterable value and make it reappear

    I got it to work in your app doing this,

    The display text seems to create a new object and it is stuck on paragraph 1 even if you tell it to switch to a different paragraph.

  3. #3
    Clicker iOS Export Module

    Join Date
    Mar 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx Jeff!

    Some times you just need a fresh pair of eyes on the problem, very quicly to help from clickteam! Much appreciated!

Similar Threads

  1. Random problem
    By dontknow in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 12th June 2011, 07:18 AM
  2. A random problem
    By Watermelon786 in forum File Archive
    Replies: 3
    Last Post: 2nd January 2011, 08:50 PM
  3. RANDOM problem
    By siriso in forum The Games Factory 2 - Technical Support
    Replies: 8
    Last Post: 8th October 2008, 07:16 AM
  4. problem w/actives displaying wrong objects
    By 00J in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st April 2008, 09:32 AM
  5. random value + another problem
    By Tolkkiz in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 13th November 2007, 08:27 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •