Add time to logic_timer

Discussion in 'Mapping Questions & Discussion' started by DrGains, Feb 7, 2015.

  1. DrGains

    DrGains L1: Registered

    Messages:
    24
    Positive Ratings:
    1
    Hey guys, Im having troubles figuring out how to add time to a timer.

    I have:

    logic_timer
    Start Disabled | Yes
    Refire Interval | 60
    ----
    [Working Outputs]

    logic_relay
    Start Disabled | Noi
    ----
    logic_timer | Enable | Delay 0.00

    logic_auto_1
    *No Global State to Read
    ----
    OnMapSpawn | logic_relay | Trigger | Delay 0.80

    logic_auto_2
    *Yes Global Start to Read (That works as it successfully outputs other items)
    ----
    OnMultiNewRound | logic_timer | AddToTimer | 20 | Delay 0.99 <-- Thats the problem?

    Here's a video of what this looks like:
    http://youtu.be/GObfoTCE9Uw
    ____
    Edit:
    To add to what im trying to do, im trying to have a timer (refire on 60), then have a trigger add 20s to the time for refire. So it would look like:

    Timer, start
    0/60sec
    OnTrigger
    20/60sec

    Any thoughts on how to achieve this?
     
    Last edited: Feb 10, 2015
  2. Linking-Yellow

    Linking-Yellow L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    I would use a math_counter instead of a timer, and use a timer to increase the value of the math_counter every second. Set it up to reset to '0' when it hits 60, and you effectively have a timer that you can preform math on.