The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: blacklable on April 24, 2007, 06:20:38 AM

Title: Someone please help! :zidane:/ I had One more question
Post by: blacklable on April 24, 2007, 06:20:38 AM
On rpd maker xp how do you make it so you can have a consiquens for having your timer run out like for example theres a timer for 5 sec. and it runs and you get a game over I'd be really thankful if someone could explain how to do this to me please im desprate. :a:
Title: Re: Someone please help! :zidane:
Post by: Winged on April 24, 2007, 06:25:56 AM
Conditional Branches. You'll figure them out once you mess with it for about 3 mins so you shouldn't need my explanation but if you really do just say so ;8

~Winged
Title: Re: Someone please help! :zidane:
Post by: blacklable on April 24, 2007, 06:46:13 AM
Sorry but I did but I couldn't figure it I played around with it for about an hour it almost worked but all I got was the timer came on then right away whent to a game over :)
Title: Re: Someone please help! :zidane:
Post by: Winged on April 24, 2007, 07:00:02 AM
Can you please post what you did here so I might be able to see what you did wrong?

~Winged
Title: Re: Someone please help! :zidane:
Post by: modern algebra on April 24, 2007, 07:01:30 AM
Basically, you'll need to set up a parallel process which has inside it a conditional branch on timer set to run whenever Timer is XXX sec or less. So like:

Conditional Branch Time 0 min, 30 sec or less
  Shake Screen
Branch END

That will shake the screen when the timer is 30 secs or less. I think the problem you encounter might be due to you having it set as Timer 0 sec or more, or you might not be putting the Game Over message INSIDE the conditional branch, not after it. Post back if you encounter problems.
Title: Re: Someone please help! :zidane:
Post by: blacklable on April 24, 2007, 07:13:46 AM
Ok First I made a timer set to 10 sec. then I created a onditional branch and set to Conditional branch: below 0 min. 5 sec.
                    <>Game Over
                    <>
                    Else Handerler
                    <>
                    End
                    <>
And the timer whent down but nothing happened after it hit 5 sec.just sat there do you know what I did wrong ???
Title: Re: Someone please help! :zidane:
Post by: Winged on April 24, 2007, 07:19:22 AM
Quote from: modern algebra on April 24, 2007, 07:01:30 AM
you might not be putting the Game Over message INSIDE the conditional branch, not after it. Post back if you encounter problems.

Try that  ;8

P.S Woot 800th post, 1,000th here I come!

~Winged
Title: Re: Someone please help! :zidane:
Post by: blacklable on April 24, 2007, 07:28:30 AM
Ok I double checked and this is excactly what it looks like:

<>Timer Operation: Start (0 Minuts and 10 seconds)
<>Conditional Branch: Timer below 0 Minuts and 5 Seconds
<>Game Over
<>
: Else Handerler
<>
: End
<>

P.S. Cool 800 pots nice
Title: Re: Someone please help! :zidane:
Post by: Zeriab on April 24, 2007, 08:55:59 AM
Set the timer in one event.
Have another event on Parallel Process trigger and let that event contain the conditional branch.

Right now you set the time to 10 seconds, ask if the time is below 5 seconds immediately after.
As the time is on 10 seconds you run the else handler.
There are no more actions, so the event ends and you don't check the time again.
Title: Re: Someone please help! :zidane:
Post by: blacklable on April 24, 2007, 02:08:05 PM
Thank you thank you thank you! It worked. I was starting to think I'dnever figure it out thanks agian. ;D :zoid:
Title: Re: Someone please help! :zidane:/ I had One more question
Post by: blacklable on April 25, 2007, 02:21:19 PM
It worked at 10 sec but what if I whant it bigger like 1:30 or 1:10 or sumthin like that :atma:
Title: Re: Someone please help! :zidane:/ I had One more question
Post by: modern algebra on April 25, 2007, 03:26:22 PM
You would just set that into your conditional branch, instead of 10 s.