I have some problems concerning the timer function.
this is what i want to achieve (simplified):
when the hero enters a dungeon, a timer starts to count down. If the hero can't find the exit before the timer goes to 0, the hero will die. If the hero finds the exit in time, the timer stops, and he will survive.
I tried to do this with switches, but the main problem i have is that the timer keeps counting down, also when the hero has found the exit. So can anyone help me making this work?
this is what i want to achieve (simplified):
when the hero enters a dungeon, a timer starts to count down. If the hero can't find the exit before the timer goes to 0, the hero will die. If the hero finds the exit in time, the timer stops, and he will survive.
I tried to do this with switches, but the main problem i have is that the timer keeps counting down, also when the hero has found the exit. So can anyone help me making this work?