User Tag List

Results 1 to 5 of 5

Thread: The events triggers at the same time

  1. #1
    No Products Registered

    Join Date
    Jan 2007
    Location
    Sweden
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The events triggers at the same time

    I've made a ridable animal, and i've made it so that you can ride it by overlapping it and pressing down. I want to be able to press down again to leave the animal, but the events triggers at the same time, resulting in... Nothing. I'm soure i can find some workaround by myself, but what is the best way?

  2. #2
    Clicker Fusion 2.5

    Join Date
    Jun 2006
    Posts
    402
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: The events triggers at the same time

    Just make it 'Up' to ride it, and 'Down' to get off it.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    Alonso's Avatar
    Join Date
    Jul 2006
    Posts
    681
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: The events triggers at the same time

    Or, Attan, set a flag on after pressing down. Make it so that getting off the animal requires the flag to be off, and at the end of the event list loop (or just before the event that turns the flag on), set it off (for every loop). This flag can be used carefully for several on-check instances similar to this one, though you might run into a corner. Or you could simply use a flag that you're most likely never to repeat (eg. turning flag -9132 or 5349 on).

  4. #4
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: The events triggers at the same time

    The events are not triggered at the same time but they are triggered one after one.

    If you do that :
    - Press "X" : ride horse
    - Press "X" : leave horse

    MMF2 will set your character on the horse when X is pressed and directly after your character will leave it.

    To prevent it, simply use a flag (easiest way to do that) with "toggle" action :
    - Press "X" : toggle flag 0 of horse
    - If flag 0 of horse = 0 : leave horse
    - If flag 0 of hors = 1 : ride horse


  5. #5
    No Products Registered

    Join Date
    Jan 2007
    Location
    Sweden
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: The events triggers at the same time

    Thanks! I'll try it out!

Similar Threads

  1. Platformer AI: Triggers not responding sometimes
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th July 2011, 09:27 PM
  2. Bad Design in MMF Framework - Time related events
    By Fanotherpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 17th April 2010, 02:52 AM
  3. Xbox 360 Triggers and D-Pad
    By Sumo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st February 2010, 06:50 PM
  4. Date and Time Events
    By Gimbabwe in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 25th December 2009, 12:18 AM
  5. Map editor 'triggers'
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 11th September 2006, 12:29 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
  •