RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Timer Problem

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 90
I didn't know exactly were to put this, but I thought that it would
work here.

Anyway, here's my problem:

In one part of my game, I'm gonna use the timer, so that when the time goes out, a switch will be turned off.

When I tried this however, I used the conditional branch, and put it like:

Conditial Branch Timer is Below 0 Minutes And 1 Seconds(I also tried 0 and 2 seconds)
Switch: [0001:Switch1) = OFF

But when I tested it, nothing happened :cry:
Is there anyone out there that know what the problem is?
If so, could you please tell me?

Thanks in advance.
Going on a vacation...(To FLORIDA!!!)
Will be away the three closest weeks...

**
Rep: +0/-0Level 89
Without actually seeing the problem it's hard to say.

Have you made the event seperate? If not try it. And another possible thing could be activating the event. Have you selected parralell process?

***
Rep:
Level 90
Well, to be more specific, it's supposed to be like this:

You press a button, or something like that, and then
 the switch [0001:SwitchA], will be turned on.
The switch will make another button appear, and then you have this time limit, and if you don't press the second button before the time goes out,
the second button will disappear, and you'll have to start over from the beginning. Got it? :)
Going on a vacation...(To FLORIDA!!!)
Will be away the three closest weeks...

**
Rep: +0/-0Level 89
im having the same problem. is it possible to do this?

**
Rep: +0/-0Level 90
Ok,Maybe you should try it in a diferent way.I have a timer operation in my project and it works fine,so im going to try and explain it with your events.
So you have a button,and when you press that button,another button appears and you only have a certain time to press it or it dissapears right?
Well,to do this,you will need 3 events.The first event is you first button.
Do it like this:
  Event 01(First Button):
               Timer (operation start x minutes and x seconds)
                Switch 01(second button)=ON
Now you have the first button,that starts the timer when you press it and also turns on switch 01 wich is the second button.
 
  Event 02(second Button):PRECONDITION>>Switch 01(second button) is ON
               Message:You unlocked the switch(just do whatever you want to do here when the hero presses the second button in time)

  Event 03(No Graphic):
               Conditional Branch:Timer Below x minutes and x seconds
                   Switch 01(second button)=OFF
               Else
                 <>
And thats it!Hope i could help!
"Have you read your STICKY today?"