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.
Timing RPGM XP

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 90
Ok what I want to do is make a timer. What I am doing is that I want someone to find a switch in the ground in 15 seconds. If that person doesn't then you die. 8) So could someone tell me how to make a 15 seconds timer. And then when time runs out you die. LOL Thanks
It would help me out alot if you would visit my James Bond site. thankyou
bondex.spyw.com

***
Rep:
Level 89
I have attention problems.
You should look around the forum first, before asking a question like this!
I think someone recently posted a topic about this.
"...because, you know, whatever."

****
Rep:
Level 90
Ummm... I dont know if this is possible unless you use a script... I may be wrong, i dunno.

EDIT: Damn i'm an idiot, yes you can make timers, just have an event and use the 'timer operations' command!

******
Rep:
Level 91
timer operations are well knowen to make troubles..
make a parallel process instead
precondition it with a switch we will call timer

when you want that clock to run turn timer on
this will tell the parallel to start running, the parallel itself looks like:

wait 300frames (15sec, this will not stop the player as this is a parallel event sec count btw is 20frame=1sec)
gameover

the event you are supposed to find will turn timer off, if done quickly enough the parallel will not reach the gameover
holy shit my sig was big!

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
If you do as blueXx say, you should note that leaving and entering the map will reset the timer (unless you're using a common event)

******
Rep:
Level 91
Quote from: Zeriab
If you do as blueXx say, you should note that leaving and entering the map will reset the timer (unless you're using a common event)


common event..
that has nothing to do with anything if he will use a common event the entire game will be stuck until the wait is over -.-

now, if you really wanna switch maps you have to put a parallel in each, doing the following:

wait 1 frame
v(timer) +1
if v(timer) = 300 then
-gameover
this way variable timer will keep growing, when it reaches 300 it's gameover
holy shit my sig was big!

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Quote from: blueXx

common event..
that has nothing to do with anything if he will use a common event the entire game will be stuck until the wait is over -.-


It'll be stock if you use common events???  :shock:
Have I been blind to such a change from 2000 to XP?
I will certainly test this.

Edit: I have tested this and the results were, there were no freeze or stuck or whatsoever.
I am assuming that one did set the common event to be a Parallel Process.
I also noticed the timer reseting with the common event when changing map if you are not using a counter method like the one blueXx wrote.

**
Rep: +0/-0Level 90
Well,if you just want to try the regular timer event,there's a topic in here that may be able to help you.
http://www.crankeye.com/forums/viewtopic.php?t=5394
If you still have doubts,post what else you need.
"Have you read your STICKY today?"