User Tag List

Results 1 to 3 of 3

Thread: One button 2 different events

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export Module
    Emerson3's Avatar
    Join Date
    Apr 2014
    Location
    Lafayette, Louisiana
    Posts
    721
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question One button 2 different events

    Hey Clickteam,

    In Zelda games, when Link presses "B" for example in front of a stone, he picks it up. When he then presses "B" he throws the stone. How can I accomplish this? I'm making a game kind of like classic grand theft auto, top down. I want to press "Spacebar" to get out of my vehicle. My vehicle then becomes Static and the player reappears. I also want to press "Spacebar" when the player is overlapping vehicle to get into my vehicle. Thanks Guys!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jul 2013
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    One button 2 different events

    You could set a global value to 0 when the player is in the car and set it to 1 when he's not.

    So when you press the space bar you check the value and execute the action that you want

  3. #3
    Clicker

    Join Date
    Jul 2011
    Posts
    95
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Objects.mfa

    These examples aren't great, but maybe they'll give you an idea of where to start?

Similar Threads

  1. 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
  2. Global Events Button on toolbars request
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 27th April 2011, 09:41 PM
  3. Global Events Button request
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th August 2010, 05:52 PM
  4. Toggle button events
    By byo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th January 2008, 08:03 PM
  5. Button object crash---no events
    By Blizna in forum File Archive
    Replies: 10
    Last Post: 28th November 2006, 09:15 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
  •