User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Action after a few seconds

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Apr 2010
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Action after a few seconds

    If I want to have an object that make an action few seconds after the mouse is clicked.

    How could I make this event?

    Thanks

  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,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Action after a few seconds

    * User click on Active
    - Active: Set alterable value A to 100

    * Always
    + Active: Alterable value A = 0
    - Insert action here...

    * Always
    - Active: Alterable value A = Alterable value A - 1

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Apr 2010
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Action after a few seconds

    thanks a lot
    I think i've got something wrong though... the object (active1) is set to the mouse pointer and the action is to create another object (active2) relative to active 1

    So it would be when the mouse is clicked anywhere will create Active 2 few seconds after.

    I tried:
    *user click with left button >>Active2 set alterable value A to 100

    *always
    + Active2:Alterable Value = 0 >> Create object (active 2)

    * Always
    - Active2: Alterable value A = Alterable value A - 1

    and what it does is create the object continuously and stop creating it when I click.

    Any suggestion?





  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Action after a few seconds

    Quote Originally Posted by Popcorn
    * User click on Active
    + Active: Alterable value A >= 0
    - Active: Set alterable value A to 100

    * Active: Alterable value A = 0
    - Set Alterable value A to -1
    - Insert action here...

    * Always
    - Active: Alterable value A = Alterable value A - 1
    Try that instead.
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Apr 2010
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Action after a few seconds

    Nop

    what it does is to create the object at the beginning and then nothing happens when I click.

    Just wondering, because I do what you are telling me but I don't understand the logic of it. Don't understand the time factor here.
    What actually happens when you compare:
    Active: Alterable value A = Alterable value A - 1

    Thanks



  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Action after a few seconds

    Eh, oops. :blush: Edited my post. Try again.
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Apr 2010
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Action after a few seconds

    I have tried too and nop

    So basically when you click it set the value to 100. and then is with value A = value A -1 that you decrease the value(creating time between the click ant the action) If I am not wrong ??






  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Apr 2010
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Action after a few seconds

    I manage to do what I want with the timer object:

    so when click set the timer to 0.
    compare time to timer = 1 >> make the action.

    So that makes the action 1 second after I clicked.

    But this is not the way I want, because that way you can not use the timer for almost anything else.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Action after a few seconds

    * Click
    - Set Value to 50

    * Value > 0
    - Subtract 1 from Value

    * Value == 0
    - Do stuff
    - Set value = -1

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Apr 2010
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Action after a few seconds

    Thanks RickyRombo,
    It works perfect, and even before I tried made sense.

    This is not important but just curious and wondering that is the speed of the "subtract"

    Anyway Thanks all for the help

    I am so excited making all this stuff honestly

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Mili seconds = seconds ?
    By Johnny in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th November 2009, 07:30 PM
  2. Every X Seconds?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd July 2009, 04:51 PM
  3. Seconds to HMS
    By LIJI in forum Released Extensions
    Replies: 0
    Last Post: 5th May 2007, 07:52 AM
  4. Seconds to Days, Hours, Minutes and seconds
    By dingdong in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st April 2007, 07:30 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
  •