User Tag List

Results 1 to 4 of 4

Thread: Object Dialogue Text

  1. #1
    No Products Registered

    Join Date
    Apr 2008
    Location
    Weston-super-mare
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Object Dialogue Text

    I'm sure most of you are aware that in games like Resident Evil the text that comes up when you press a key near an object and it then displays the text that describes what is in front of the character.

    Well i'm doing the same thing with my game.

    I have the events set out, it even displays the text... problem is it won't go away.

    So i set events for this to happen and then it messes up because the events that make the text appear conflict with the events that are supposed to make it dissapear making both events fire at once.

    Here are my events that make the text appear:

    IF: ("Detector") is overlapping ("Bed Text Trigger")
    *IF: ("Top half of players body") is facing UP
    *IF: Upon Pressing X
    ACT: Set internal flag of ("Detector") to 1

    IF Internal flag 1 of ("Detector") is on
    *IF: Every 00":-06
    ACT: Change Alt string of ("Item recognition text") to Left$(string$( "Bed Text" ), Len(string$( "Item recognition text 2" ))+1)

    And the events that make the text dissapear:

    IF: Upon Pressing X
    *IF: ("Detector") Internal flag 1 is on
    ACT: Set flag 1 of ("Detector") off
    ACT: Change alt string to ""

    Not sure why that didn't work, but do the events fire of all at once or something?

    If so what other way could i do this so that it works properly?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator

    Join Date
    Jul 2006
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Object Dialogue Text

    It's better and easier to make this objects Always invisible.
    Below this event place the events for making the objects visible.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Object Dialogue Text

    You shouldn't use "upon pressing key", use the joypad commands! The user would be able to map the keys for the game then, and could even use a real joystick.

    Try putting the "Upon pressing X" condition below "Flag 1 is on"!

  4. #4
    No Products Registered

    Join Date
    Apr 2008
    Location
    Weston-super-mare
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Object Dialogue Text

    No, not like that.

    The item recognition text take the text from another string and uses a type up effect on it.

Similar Threads

  1. Getting an object's name (for use with dialogue)
    By hellii in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 13th December 2012, 08:19 PM
  2. Help making Text Blitter do dialogue with a String
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th January 2010, 04:22 PM
  3. Auto-Inserting Name into Dialogue Text
    By Docilemouse in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 10th October 2009, 07:12 PM
  4. Q on Dialogue Object in MMF 2 Dev
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd March 2009, 10:48 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
  •