Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • How do I stop an event from repeating?
« previous next »
  • Print
Pages: [1]

Author Topic: How do I stop an event from repeating?  (Read 2003 times)

Offline SuperPhillip

  • Member
  • Initiate
  • *
  • Posts: 79
How do I stop an event from repeating?
« on: May 28, 2007, 02:13:01 AM »
Something as simple as reading a notice on a wall repeats itself over and over infinitely.

What am I doing wrong?
http://img152.imageshack.us/img152/8959/100no6.png
Logged
SuperPhillip Central
http://z3.invisionfree.com/SuperPhillip_Central/index.php?act=idx

Offline UltraLegend

  • Bounty Hunter
  • Initiate
  • *
  • Posts: 7
  • It would take a lifetime to write my BIO.
(No subject)
« Reply #1 on: May 28, 2007, 06:00:25 AM »
Haha. I ran into THAT very same problem when I started out.
Ever hear of switches? This is what you'll need to know how to use inorder to stop this reacurring problem. In very few steps.

#1: Create the event, such as a sign or somthing that has a message
on it, or whatever it is you're doing. Switches are nessecary to make an RPG.

#2: Next, go to the new action box, like you see, Enemy encounter, Message.. etc. This time, look for a button that says, switch operations.
Click it.

#3: You'll see a new box apear with switch options. Looks tough huh? Well, it's actualy easy. There should be a box that has somthing like:
#001. Click the arrow to the right or left of it whichever one, and then select the switch you want. If you're making a big game, you can use the array feature to add more unused switches, but lets focus on this one switch. You'll see a text box. This here, you can name the switch.

#4: Give the switch a descriptive name. Like say... Um.. for example.. You're talking to a guy... and he's a once time only talk to guy. Then you'd put (Just a suggestion) say Guy #1.
Then you get a switch box, make sure it says on.

#5: Now you got the switch, but it won't work. You gotta rig it to the event. This time, when you get to the first page you see when you click the event, you'll see some buttons labled," Add, Copy, Delete etc. Click the add button. You'll se anther tab pop up with the number 2 on it.

#6: Now, you'll see add switch, like you did on the first page. This time, check the checkbox then you will see a drop down box option light up. If it isin't already selected, then hit this box and look for your swith.. Now. Head back to page 1 for the final step.

#7: Now, click the new action button, below all of your actions. (BTW: tab 2 won't have any actions, not nessecary so don't worry about this). You'll see the event box open up again. click tab one and hit switch operations. Then select the switch that will coripond with this exact event.

THAT, should clear any and all problems.

Now go build me a game. LOL (Only joking)  :firefox:
Logged

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #2 on: May 28, 2007, 12:59:46 PM »
I have a feeling that Ultralegend  is thinking of a different problem. The event repeats over and over and you can't move, right?

I'm not sure what the problem is here, though- the coding looks pretty good. It might be that you have a [collision with hero/below hero] event. I don't use that combination, try making it either [same layer as hero/collision with hero], or [below hero/touched by hero].

Other than that, I can't see anything wrong and it must be an outside event or common event that's causing the problem (Or you've got a bad version of rm2k3)
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline game_maniac

  • Member
  • Acolyte
  • *
  • Posts: 350
(No subject)
« Reply #3 on: May 28, 2007, 04:43:04 PM »
I really don't see a problem, but instead of programming events to tint the screen, play a music and fully heal the party, you could just use the "Show Inn Message" event, with the price set to 0. If the price is 0, it skips the usual message (with the yes or no question) and just starts the normal inn event.

So, the way it would go is:

Message: Do you wish to take a nap?"
Show Choices: Yes/No
: [Yes] Handler
Show Inn: Price 0


And that should save you a ton of work.

Logged
Um, not to sound stupid or anything but what's castration? Is it like a food or something?" -vannypegasus, Pokémon board (6/14/05)

BlackRose203: There are only 21 hours in a day. Go to school more. -_-

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • How do I stop an event from repeating?
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum