Repeat timer
Quote from beecake on October 28, 2011, 11:44 amI want to have a timer counting 10 or 15 seconds and Then activate something while it re-counts and Then re-activates the element...
I guess i should ude logic_timer... Bit how do i repeat a trigger to trigger the timer at an excact moment?
I want to have a timer counting 10 or 15 seconds and Then activate something while it re-counts and Then re-activates the element...
I guess i should ude logic_timer... Bit how do i repeat a trigger to trigger the timer at an excact moment?
Quote from spongylover123 on October 28, 2011, 5:28 pmThey have a reset timer output
They have a reset timer output
Quote from beecake on October 28, 2011, 5:44 pmspongylover123 wrote:They have a reset timer outputYes an output but do i Then have to make a lot of outputs and logic_relays?
Yes an output but do i Then have to make a lot of outputs and logic_relays?
Quote from spongylover123 on October 28, 2011, 5:47 pmDepends on how much you will use it.
Depends on how much you will use it.
Quote from ChickenMobile on October 28, 2011, 9:00 pmTimers iterate repeatedly as soon as you enabled them. 'ReFireTimer' is just to reset the time again while it is in mid counting. Technically if you only want a time to count once, it should disable itself 'OnTimer'.
So do you want when it is counting to activate the element and when it is finished deactivate it?
You can have the same effect by creating a button (with no fast reset that plays the timed sound AND the delayreset value is set to the amount of time you want it to count) which activates a prop_indicator_panel that 'is timed'.
To activate your event use the button's 'OnPressed' input and to de-activate it use the 'OnButtonReset' input.The button-timer is the way you should be setting up timed test elements.
Timers iterate repeatedly as soon as you enabled them. 'ReFireTimer' is just to reset the time again while it is in mid counting. Technically if you only want a time to count once, it should disable itself 'OnTimer'.
So do you want when it is counting to activate the element and when it is finished deactivate it?
You can have the same effect by creating a button (with no fast reset that plays the timed sound AND the delayreset value is set to the amount of time you want it to count) which activates a prop_indicator_panel that 'is timed'.
To activate your event use the button's 'OnPressed' input and to de-activate it use the 'OnButtonReset' input.
The button-timer is the way you should be setting up timed test elements.
Quote from MasterLagger on October 28, 2011, 10:26 pmDo you want the timer to loop (repeat) by itself?
Do you want the timer to loop (repeat) by itself?
My Work
[spoiler]Maps:
Revenge of the Angry Turrets
Capture the Cube [Co-op]
Capture the Cube 2 [Co-op]
TPWEGTH Sample Map
Aperture Aquatic Testing Center
Aperture Aquatic Testing Center 2
Aperture Time Testing Center
ML's Halloween Trick - 1000 downloads!
ML's Halloween Treat
ML's Combination - 1000 downloads!
ML's Jailbreak Labyrinth
ML's Tricky Teamwork [Co-op]
WIP:
"Capture the Cube 3"
Workshop Maps Link: http://steamcommunity.com/profiles/76561198008890579/myworkshopfiles/[/spoiler]
Quote from beecake on October 29, 2011, 3:33 amMasterLagger wrote:Do you want the timer to loop (repeat) by itself?Yes excactly! I want it too refire everytime its done counting and on every time its counted 15 seconds it should make fx. A prop_tractor_beam reverse. And then on next timer the tractor_beam should go back normal. and repeat this again and again in the whole level
Maybe i could loop it between to elements?
Logic_timer: ontime; button; press
Ontime; element; reverse
Button: onpressee; logic_timer; refiretimer
Yes excactly! I want it too refire everytime its done counting and on every time its counted 15 seconds it should make fx. A prop_tractor_beam reverse. And then on next timer the tractor_beam should go back normal. and repeat this again and again in the whole level
Maybe i could loop it between to elements?
Logic_timer: ontime; button; press
Ontime; element; reverse
Button: onpressee; logic_timer; refiretimer
Quote from Rubrica on October 29, 2011, 4:07 amCreate a logic_branch with output of 'OnTrue, funnel, SetLinearForce, 500' (change the later to whatever you want) and 'OnFalse, funnel, SetLinearForce, -500'. Then, add an output to the timer; 'OnTimer, logicbranch, ToggleTest'. That should alternate between forwards and backwards for the funnel, I think.
Create a logic_branch with output of 'OnTrue, funnel, SetLinearForce, 500' (change the later to whatever you want) and 'OnFalse, funnel, SetLinearForce, -500'. Then, add an output to the timer; 'OnTimer, logicbranch, ToggleTest'. That should alternate between forwards and backwards for the funnel, I think.
Quote from beecake on October 29, 2011, 4:58 amRubrica wrote:Create a logic_branch with output of 'OnTrue, funnel, SetLinearForce, 500' (change the later to whatever you want) and 'OnFalse, funnel, SetLinearForce, -500'. Then, add an output to the timer; 'OnTimer, logicbranch, ToggleTest'. That should alternate between forwards and backwards for the funnel, I think.Nice
Thank you all for your comments
I will look at the ideas
Nice
Thank you all for your comments
I will look at the ideas
