Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: SuperPhillip 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
-
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:
-
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)
-
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.