• Logic_Timer Problem
    2 replies, posted
Im having a problem with the Logic timer. My situation is that I have a func_button that opens the cells (Jailbreak) and the cells are controlled by the logic_timer to open at 60 seconds. But, the problem is that I wanted to make it so that when the cell button is pressed the Timer would just disable or just get killed but for some reason its not working at all. Heres what I got in hammer: [B]CELL BUTTON [/B] OnPressed Cell_door_1 Toggle OnPressed Cell_Timer Kill [B]Cell_Timer (Logic_Timer)[/B] OnTimer (Fire Once Only) Cell_door_1 Open (Delay 60.00) -------------------------------------------------------- I have tried both Disable and Kill and the cells still open. But I notice if the Cells are closed after I already hit the cell button that should have killed/disabled the timer still fires.
So, your door automatic opens after 60 seconds, but the if the button is pressed it overrides the timer and opens the door, right ? I don't know if you can kill a output that was fired. If you kill the logic_timer and it still opens the door after 60 sec, I think you can't make a override button then. I may be wrong.
[QUOTE=nicolasx21;46940429]So, your door automatic opens after 60 seconds, but the if the button is pressed it overrides the timer and opens the door, right ? I don't know if you can kill a output that was fired. If you kill the logic_timer and it still opens the door after 60 sec, I think you can't make a override button then. I may be wrong.[/QUOTE] Well the purpose of killing the timer would be so that the timer wouldn't take matters into its own hands and open/close the cells after a person already opened/closed the cells themselves. Now if someone didnt touch the button then I want the timer to open the cells which would cause a freeday because the CT's didnt give orders yet. Its basically so T's arent in there cells forever [editline]15th January 2015[/editline] I figured it out I did this instead [B][U]Cell Button[/U][/B] OnPressed Cell_door_1 Toggle OnPressed Cell_timer CancelPending [B][U]Cell_Timer (Logic_Relay)[/U][/B] OnSpawn(Fire Once) Cell_door_1 Toggle (Delay 60.00)
Sorry, you need to Log In to post a reply to this thread.