User Tag List

Results 1 to 5 of 5

Thread: create object help

  1. #1
    No Products Registered

    Join Date
    Dec 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    create object help

    I was wanting to know if you can create an object by its alternate value or string. This would be very helpful in the project I am working on.
    Any Ideas or Information would be greatly appreciated
    Thank you

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: create object help

    Making Objects Via a Text File:
    You want to make a system were the the application loads a text file and reads it every tenth of a second, then it reads the next character. Depending on the letter it will create a certain object.

    Solution:
    Load the text file using a List Object. Use a String Parser, and set a delimiter how the characters in your text file are seperated. Then every tenth of a second use the String Parser to retrieve the value of the character in the List Object.

    If the character equals a certain letter create the correct object. Make sure the loop advances to the next character after reading one. This can be done by deleting the last character read from the List Object.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    No Products Registered

    Join Date
    Dec 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: create object help

    Thank you, so if I Use this and put all the ojects i want on it by value(as long as they are all diff) Ill be able to create them by event. like Setting string parser value to value of object to create on the text file. then call it from action?
    lol I haven't tried it yet, and I know its not exactly like how i wrote but i hope you get what im trying to say

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: create object help

    Should work.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    No Products Registered

    Join Date
    Dec 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: create object help

    Thank You NIVRAM
    I've seen you and quite a few other knowledgeable people are a big help in this community, its nice to see some real support in a forum from some of the Vets.
    Thank you all

Similar Threads

  1. Launch or Create Object actually creates two of the object, not just one.
    By LemonyLime in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 30th June 2017, 09:46 PM
  2. Possible Bug - Create new object
    By Zem in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th November 2013, 06:55 PM
  3. [BUG] Create object if flag is off, and assign something to the created object
    By Popcorn in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 24th January 2013, 11:01 PM
  4. Create Object + Object Selection Revisited
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd February 2011, 04:33 PM
  5. Create object at same position of object destroyed
    By The Thinker in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 6th November 2006, 12:16 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
  •