Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: paprmastr232 on June 11, 2007, 01:25:55 AM
-
okies, now i'm up to the er.... the scene where i meet Noah (a character in my game).... problem is... i don't know how to make the Character Sprite, and the Monster sprite appear at the same time while still continuing on the event. next, i tried the switches, but the event won't stop x_X. Like.... After Noah said a message, the monster sprite appeared, and Noah kept on repeating D:. But, if i somehow accomplished that.... i don't know how to make the battle engagement
that only shows Noah battle sprite, and not my main one D:
(i think its kind of confusing... but i can't explain it any better TT__TT sorry)
NOTE: i want to make it a cutscene so i put it in AutoStart... ._."
-
^My guess is that your only problem is that you made your event as auto-start, but didn't add a command to end the event processing. You see, if you create a event and set it to auto-start, and don't add a way for the event to end, it will just repeat itself. Same with Parallel Process.
The solution? Create a switch and activate it when you've done everything, create a second page on that same event, check the little box on the upper left side of the screen( It should say Switch "your switch" is ON) and make the trigger condition in that page Action Key or Touched by hero, anything that is not Auto-start or Parallel Process.
I don't understand the rest of your problem, but maybe you can solve it using pictures?
Edit: just realized Daetyrnis explained how to stop the event from repeating better than I could on another one of your topics:
you will want to use switches. Switches are things in your game that you can turn ON and OFF (they all start in the OFF-mode). You can check if a switch is ON (as well as OFF), and do something accordingly.
So here, at the end of the event's commands, turn a switch ON (you can name them too, which helps keep everything organized and under control). Then, make a new page in the event, and look to the left of the event window.
You should see a bunch of things that are greyed out now, but you can enable by checking boxes. Enable a SWITCH condition (either one works, but just use the top one for now), and choose the switch that you turned on earlier.
Now, when you run your game, the event will do its thing. Then, since the switch is ON, it won't do it a second time! This is because RPG Maker only uses the page of an event with the HIGHEST number that has all of its conditions met.
First, it accessed page 1. It couldn't access the higher page 2 because the required switch wasn't ON. However, after you turn that switch on, it'll access page 2, page 1 won't be run ever again!! That is of course, unless you turn the switch OFF.
As long as page 2 doesn't have any commands, when the switch is ON, it will never do anything.