Main Menu
  • Welcome to The RPG Maker Resource Kit.

Timer Problem

Started by doggen, January 14, 2006, 04:14:32 PM

0 Members and 1 Guest are viewing this topic.

doggen

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...

Big Billy

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?

doggen

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...

frabbage

im having the same problem. is it possible to do this?

mark

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?"