User Tag List

Results 1 to 3 of 3

Thread: Txt string placements

  1. #1
    No Products Registered

    Join Date
    Nov 2006
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Txt string placements

    I am needing to , at the press of a button, have several strings, chosen from a larger number, appear onscreen. I want them to arrange themselves (before becoming visible) so that they shift upwards to look like an unbroken paragraph. So just having a particular string appear at a location wont work, because you get gaps. The top of the page- downwards order doesnt matter much. Any help is much appreciated.

  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: Txt string placements

    You can alter the contents of a string by using the "Change alterable string" action, and feed some random results into this. For example, if you have your fragments in a List object and wanted to choose a random line each time, it would look something like:

    Set alterable string to List Line$("List", random(Number of lines("List"))) + newline$ + List Line$("List", random(Number of lines("List"))) + newline$ + ...etc etc etc.

    I can't remember the exact expressions for "text of a line" and "number of lines", but that might point you towards a solution... did this help?

  3. #3
    No Products Registered

    Join Date
    Nov 2006
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Txt string placements

    Uuhhhhh... What I have been doing is roughly "When score is between x and y, display para 1, between y and z display para 2 etc." that works well, for half a dozen separate strings. But not all strings get shown, and different paras come up each time. But if not all the strings get shown, I get gaps in the report page. I was just wondering if there were ways of making the strings shuffle upwards to remove the gaps? I hope that's clearer, Thanks

Similar Threads

  1. Unable to change a string with the list obect if string contains three periods in row
    By redpandagames in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th January 2013, 03:01 PM
  2. Using String Parser to check for any punctuation in a string
    By Apex in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th May 2012, 11:03 PM
  3. [BUG] String object does not retain its string
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th April 2011, 11:18 PM
  4. Random object placements?
    By Worf in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd April 2010, 04:21 PM
  5. Enemy placements and spawning in a shooter?
    By CKX in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 19th February 2009, 02:39 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
  •