User Tag List

Results 1 to 5 of 5

Thread: The Timer Object Suggestion / Request

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The Timer Object Suggestion / Request

    The timer object has some great features and is pretty simple.

    There is a feature that I would dearly like to be added though and that is an ability to offset the every condition by some amount of time.

    For example if I what one condition to test every 30sec but offset it by 15 seconds then do actions say turn light on.
    Then I have a second condition test every 30 seconds, then do actions say turn light off.

    This would allow to make simple oscillations and other effects which can be out of phase with each other.

    I know there are alternative ways to do this but they tend to be convoluted and the idea of clicking is to make things easy as possible.

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: The Timer Object Suggestion / Request

    Ever tried Function Eggtimer??
    [obj_eggtimer]
    If I understand you correctly this should be able to help ya...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: The Timer Object Suggestion / Request

    Not really but as I said its a bit convoluted in its approach, having to set up funtions etc.

    To my mind I would like to see a condition that read something like ;-

    [Events]
    * [obj_thetimer] Every 1-00"-00 offset 15"
    [/Events]

  4. #4
    No Products Registered

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

    Re: The Timer Object Suggestion / Request

    If you do this:

    * Timer is greater than 02"-00
    + Every 05"-0

    Then the first action will start at 7 seconds. However, this wont help you if you want to delay by something smaller than the every conditions.

    A better way to do things is this:

    Name a counter/globalvalue/alterablevalue to "GameTime" somewhere.
    Add a condition:

    *Always
    -Add 1 to game time

    Then, instead of checking "every bla bla", do this:

    *Compare two general values:
    "value( "GameTime" ) mod 50" IS EQUAL TO : 0

    mod 50 means 1 second.

    "(value( "GameTime" ) -25) mod 50"

    This will mean delay by 0.5 seconds, and then do it every second after that.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: The Timer Object Suggestion / Request

    Sorry to post to an old post but I finally found an easy way to do this. I posted an example here

Similar Threads

  1. Suggestion/Request
    By Fanotherpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 61
    Last Post: 6th July 2012, 03:49 PM
  2. [Request] A Timer Action
    By Carulosu in forum Extension Development
    Replies: 4
    Last Post: 2nd July 2009, 07:00 AM
  3. [REQUEST] Advance Timer
    By Laggy in forum Extension Development
    Replies: 5
    Last Post: 10th April 2007, 05:23 PM
  4. Request: Local Timer/Auto-Destroy
    By Michael_Gummelt in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th July 2006, 03:54 AM
  5. Countdown timer request
    By Taccy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 12th July 2006, 09:16 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
  •