View Full Version: Seconds problem with the Timer

Scenario Rpgmaker > Scenario Q & A > Seconds problem with the Timer



Title: Seconds problem with the Timer


Shadow - November 24, 2005 02:50 AM (GMT)
Hello all, I hope some of you are still floating around the place. The message board hasn't been particularly active now, has it?

My problem (Yes, *I* have a problem... B) ) is with the [Game Clock] icon in the Sprite Messenger. I have an item which runs for a limited amount of time, activated with this on the second page:

[Game Clock]0:10

I want the timer to run for 10 seconds, *HOWEVER*, it seems that this little idea I came up with has a flaw or two.

I had a similar situation to this before, earlier in the game, where I activated the timer with:

[Game Clock]1:00

To check that the player had achieved the task at hand in time, I had a sprite message which contained the inquiry:

[Game Clock]<1:00 goto TRUE

This worked fine, but the problem I'm having is dealing with SECONDS, and not a MINUTE.

It seems the inquiry has a problem checking for the seconds passed since the [Game Clock] was activated. When I type in the inquiry:

[Game Clock]<10 goto TRUE

it doesn't work. I have tried a number of combinations with mixed results, but none that will actually goto the TRUE page if 10 seconds have passed.

[Game Clock]<10
[Game Clock]<0:10
[Game Clock]<:10

Just to make sure, I also tried putting the arrows the other way as well.
:P

Can anyone help me come up with a solution to this problem?

Thanks very much.

Jed - April 2, 2006 08:11 AM (GMT)
I'm having great difficulty here.
You did make a suggestion for me in a previous thread about using inquiries to set up a method of increasing the time left.
But, I have come to realise, that I can't make a single successful inquiry on any time.
I am perplexed to say the least.

Especially so if the timer inquiry regards the parameter as being what has passed rather than what is remaining.




Hosted for free by InvisionFree