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.
[GM] Wait

0 Members and 1 Guest are viewing this topic.

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
How do I make a "wait" command.... Like.

move left
wait X seconds
show message
wait X seconds

Like RPG maker's wait.
« Last Edit: March 04, 2014, 01:47:12 AM by modern algebra »
&&&&&&&&&&&&&&&&

********
Absolutely the one chosen by fadark
Rep:
Level 94
GAAAAAAAAY
Like, stopping movement? freezing everything?

**
Rep:
Level 88
I'm scared of my grandma. Wouldn't you be?
I'm pretty sure that there isn't a wait command in gamemaker. What I do for a wait alternate is make a piece of code in the step event of an object I need a wait for. In the code I put:

if (activation variable)
 if self.wait = # // desired wait count
  {action self.wait = 0}
 else
  {self.wait += 1}

you set the desired wait count to how long you want the variable to be wait until initiating the action. You also need to set an activation variable to a certain number so that you know a wait is initiated...it's a bit of a pain but I can assure you it works. If your confused about any of this just ask. Hope ths helps.

**
Rep: +0/-0Level 87
You could always use alarms.

****
Banned
Rep:
Level 88
I'm basically Yoda's brother
or you could use the sleep command.
but it depends on why you need to "wait".
« Last Edit: July 10, 2007, 09:28:57 PM by fadark »

just so everyone knows, im 15 years old.

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
X-0

I don't get any of what you are all saying, I want my ship to wait 5 seconds before it can fire agian...

press space - creat object bullet
                      wait five seconds
                     
&&&&&&&&&&&&&&&&

*******
I am epic, you are not.
Rep:
Level 93
Defender of Justice
ok, i know nothing about GM and know this can be done.

Read the help file. Go to...I think it's under the create object tab in help, and it should at least mention a time delay option there.

****
Banned
Rep:
Level 88
I'm basically Yoda's brother
for that, i would do this. (file is attached to this post)
« Last Edit: July 11, 2007, 03:29:36 AM by fadark »

just so everyone knows, im 15 years old.

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
for that, i would do this. (file is attached to this post)

Thanks, now I just need to know how to make the enemies shoot back...
&&&&&&&&&&&&&&&&

****
Banned
Rep:
Level 88
I'm basically Yoda's brother
ok, ill post a new version of that soon, to help you with that. :D

[edit]
ok, im done! ;)

here are the new additions:

-you can now move, left and right
-the enemies shoot you
-you get 5 lives
-there is a new, scrolling background
-new graphics

the file is attached to this post.
i hope this helps! ;D
« Last Edit: July 11, 2007, 07:47:20 PM by fadark »

just so everyone knows, im 15 years old.

*******
I am epic, you are not.
Rep:
Level 93
Defender of Justice
can this work on GM7? my computer makes alot of the files I open (except arrow's, oddly) crash

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
gmk will only open in GM7. ;8

*******
I am epic, you are not.
Rep:
Level 93
Defender of Justice
mkay, that's what I thought.

Did you ever get my PM? Hm. oh well.