User Tag List

Results 1 to 6 of 6

Thread: Making conversations between NPCs global events?

  1. #1
    Clicker Fusion 2.5Android Export ModuleSWF Export Module

    Join Date
    Jan 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making conversations between NPCs global events?

    need them to be global so that they can change with events, even when its not on the same frame.

    I have it right now so its

    (Globals are set in another frame)

    "Object not moving"
    "Overlapping CPU"
    "Upon hitting up"
    "Event(global)=1
    >Display paragraph 1

    and then I have another one that is

    "Object not moving"
    "Overlapping CPU"
    "Upon hitting up"
    "Event(global)=2
    >Display paragraph 2

    But that doesn't work(I assume for obvious reasons)

    My problem is I can't figure out what code to use to make conversations different based on the global number. SO yep thats my question, how do I make conversation different based on a global value?

  2. #2
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Making conversations between NPCs global event

    "Upon hitting up" should come first in the condition. That's true for every 'true events' as opposed to 'fake events'. True events are displayed in red when positioned a the top of a condition.

    You can learn more about true/fake events here:
    http://www.clickteam.com/eng/resources/GTM/GTM2_4.htm

    EDIT: Acccording to the link above, "User presses a key" is not a true event.[crazy]

  3. #3
    Clicker Fusion 2.5Android Export ModuleSWF Export Module

    Join Date
    Jan 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making conversations between NPCs global event

    So its not true???? What??? How do I make it a true event??

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Making conversations between NPCs global event

    Quote Originally Posted by Krim
    So its not true???? What??? How do I make it a true event??
    You don't. It isn't a true event.
    .:::.Joshtek.:::.

  5. #5
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Making conversations between NPCs global event

    MMF2 events are actually of two different types. The "true" events are events that is taken out of the normal event cycle and only evaluated/fired when the event actually occurs. Those events are for example: Fast loops, collisions, keyboard and mouse input.

    Those conditions "on loop" and "uppon key pressed" and "on collision" has to be the very first condition in the event so they are seen as true events.

    In the latest MMF2 versions you can see the difference between true and non-true conditions by the color of their text.
    All true conditions has red text and should always be on top in the event.

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Making conversations between NPCs global event

    On loop is a true event.
    Object collisions are true events.
    Upon pressing any key is a true event.
    Upon pressing a specific key is not a true event. While this is counter-intuitive, it is to do with how MMF2 works with Windows. The only way to make it a true event is to put the "upon pressing any key" first followed by upon pressing a specific key.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Board=2&Number=20338#P ost20338
    Quote Originally Posted by Francois
    No, as strage as it seems, Upon pressing a key is not a true event...
    .:::.Joshtek.:::.

Similar Threads

  1. Global objects in global events
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th October 2010, 12:12 PM
  2. Global events or Frame events first?
    By Digitalic in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 25th June 2010, 08:18 PM
  3. Group of events & global events - performance?
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 9th June 2010, 03:00 PM
  4. Global Events
    By Bruto in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd November 2006, 10:14 PM
  5. Global Events
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th November 2006, 01:21 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
  •