User Tag List

Results 1 to 8 of 8

Thread: Create a Game Event Log

  1. #1
    No Products Registered

    Join Date
    Apr 2009
    Location
    Kansas
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Create a Game Event Log

    I'm having trouble getting a "carriage return" using Rich Edit Object. Can someone help me with this?

    Here's what I have:


    The intent is for game message strings to be retrieved from a CSV file array and then have them displayed (when triggered) in the Rich Edit Object using a counter-controlled line number.

    This is what I get. As you can see, the counter shows 3 messages posted, but the messages are listed horizontally:



    But this is how I wanted it to look:



    What am I doing wrong?

    Thanks!

  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)
    Add +NewLine$ to the end of the Set text action.
    Working as fast as I can on Fusion 3

  3. #3
    No Products Registered

    Join Date
    Apr 2009
    Location
    Kansas
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works like a champ. Thank-you LB.

  4. #4
    No Products Registered

    Join Date
    Apr 2009
    Location
    Kansas
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I added +NewLine$ to the end of the Set text action and here is what it looks like:



    How do I eliminate the blank lines between the text (indicated in blue)?

    Thanks.

  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)
    Remove the +NewLine$

    Guess you changed something and it already has new lines now where it didn't before. Either that or you're getting spaces as elements.
    Working as fast as I can on Fusion 3

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Change your line event to: Go to line whatever + 1
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  7. #7
    No Products Registered

    Join Date
    Apr 2009
    Location
    Kansas
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks LB and Stephen. It works!

    The "blank lines" were being introduced by the RTF file. I changed the line-spacing settings of the RTF Word document to zeroes/single-spaced and that fixed it.

    Thanks again for your assistance.

  8. #8
    No Products Registered

    Join Date
    Apr 2009
    Location
    Kansas
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's a workable, cleaned up version of the game event log for others to use:



    I used MagicDeque to load a CSV file that contains the strings of game events I want to keep track of. When an event is triggered in the game (pressing the space bar in this example), the appropriate string element from the CSV array is retrieved and displayed in the Rich Edit Object. The +NewLine$ gives you the carriage return required to stack messages in the event log vertically (Thx LB).

    NOTE: Rich Edit Object allows you to use either a .txt file or an .rft file. If you use an .rtf file, be sure the line-spacing for that file is set to single spacing.

Similar Threads

  1. global event to create an object
    By aylictal in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th September 2012, 07:47 PM
  2. Create Object Event
    By dcrew in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 13th October 2010, 02:58 AM
  3. create an event based on an active process?
    By SergioAndre in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 27th March 2009, 06:04 PM
  4. Issue of "Create object" event
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 6th November 2007, 04:56 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
  •