Please or Register to create posts and topics.

Repeat timer

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?

Mostly lurking

They have a reset timer output

spongylover123 wrote:
They have a reset timer output

Yes an output but do i Then have to make a lot of outputs and logic_relays?

Mostly lurking

Depends on how much you will use it.

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.

?????????????????????????????TWP Releases | My Workshop

Do you want the timer to loop (repeat) by itself?

Crazy is as crazy does.
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]
MasterLagger 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

Mostly lurking

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.

Image
ImageImageImageImage
Rubrica 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

Mostly lurking