Add time to logic_timer

DrGains

L1: Registered
Dec 2, 2014
27
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:

Linking-Yellow

L1: Registered
Jan 18, 2015
4
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.