User Tag List

Results 1 to 6 of 6

Thread: Several events happening on same button press

  1. #1
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Mar 2017
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry Several events happening on same button press

    I'm having a real issue that stopping from moving forward with my project.

    Current I have a simple event setup like this :

    Event
    - If "Interface Options" = 1
    - Upon pressing "Space bar"

    Action
    - Activate Group of events "Interface menu"
    - Set "Interface Options" to 2

    When the the group of events for "Interface menu" opens, the player has this option :

    Event
    - If "Interface Options" = 2
    - Upon Pressing "Space Bar"

    Action
    - De-Activate group of events "Interface menu"
    - Set Interface "Options" to 1

    My problem is that when I initially press the button to bring up the game interface, space bar always acts as the "Accept" button and it activates the group of events, but immediatly closes it because its the same button.
    How can I avoid this? All my stuff is set on FLAGS inside the group of events, but that still doesn't help. Even if I put a timer on the event, it still does not work.

    Any hints?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,326
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Have you tried adding a 'Is Group not active' condition in that first event?

  3. #3
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Mar 2017
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just tried that actually, I'm still having the issue.

  4. #4
    Clicker Fusion 2.5

    Join Date
    Dec 2009
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try adding a 'cooldown' counter linked to the space bar:

    Event
    - If "Interface Options" = 1
    - Upon pressing "Space bar"
    - Cooldown =0

    Action
    - Set Cooldown to 20
    - Activate Group of events "Interface menu"
    - Set "Interface Options" to 2

    When the the group of events for "Interface menu" opens, the player has this option :

    Event
    - If "Interface Options" = 2
    - Upon Pressing "Space Bar"
    - Cooldown=0

    Action
    - Set Cooldown to 20
    - De-Activate group of events "Interface menu"
    - Set Interface "Options" to 1

    Action
    - Cooldown >0

    Event
    - Subtract 1 from Cooldown

  5. #5
    Clicker Fusion 2.5 (Steam)

    Join Date
    May 2013
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had a similar issue recently using "only one action when event loops" worked for me.

  6. #6
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Mar 2017
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The "only one action when event loops" option didn't work for me, however based on Graeme2408 idea I made a similar cooldown event which fixes the issue.

    Thanks everyone

Similar Threads

  1. Press Key events can't detect Alt key?
    By Shawn in forum Fusion 2.5
    Replies: 5
    Last Post: 21st December 2016, 09:50 PM
  2. Press and Hold button help
    By GameOverHDX in forum Android Export Module 2.5
    Replies: 3
    Last Post: 27th April 2014, 11:50 PM
  3. Multiple events triggering from one button press
    By Smakian in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 20th September 2013, 09:58 AM
  4. Application pauses with every button press.
    By LemonyLime in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd March 2012, 09:40 AM
  5. Can I force MMF2 to press a button?
    By Iwantmyrpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th August 2008, 05:58 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
  •