The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: godlock2006 on April 24, 2007, 08:05:22 PM

Title: [RESOLVED] 2 EVENTS
Post by: godlock2006 on April 24, 2007, 08:05:22 PM
when i made two events on one event square the graphic and the messages came up in the second layer why did this happen? ???
Title: Re: 2 EVENTS
Post by: modern algebra on April 24, 2007, 08:10:59 PM
Your question is not so clear, but I am assuming that you made a single event with two pages?

If this is the case, then it will, by default, show the second page because RMXP essentially reads from right to left. It will always run the pages that are higher numbered if it's conditions are met. In other words, if you have 5 pages, where 1, 3, 4 have their conditions met, it will run 4. The way to avoid this is to place a condition on the second page that is NOT met when you first activate the event.
Title: Re: 2 EVENTS
Post by: godlock2006 on April 24, 2007, 09:02:04 PM
BUT IT WILL NOT SHOW THE FIRST EVENT  :o
Title: Re: 2 EVENTS
Post by: Kokowam on April 24, 2007, 09:04:31 PM
Well, set the second page to a condition and then try that out.
Title: Re: 2 EVENTS
Post by: godlock2006 on April 24, 2007, 09:40:39 PM
Do you mean conditional branch i dont know how do use that :'(
Title: Re: 2 EVENTS
Post by: Kokowam on April 24, 2007, 09:42:41 PM
No. On the left side, there are places. You need switches. Learn how to work with those. Sorry I can't teach you because... I'm just retarded.
Title: Re: 2 EVENTS
Post by: modern algebra on April 24, 2007, 09:46:19 PM
Zeriab's signature will direct you to a great tutorial on switches. And, you should learn how to use conditional branches, as they are possibly the most important event command alongside I'd say, Show Message, Control Switch, Control Variable, and Teleport. I wrote something up on them in my Event Commands Tutorial. I'd suggest you check it out, though it is still incomplete.
Title: Re: 2 EVENTS
Post by: Zeriab on April 24, 2007, 10:38:11 PM
Quote from: modern algebra on April 24, 2007, 09:46:19 PMZeriab's signature (...)
Title: Re: 2 EVENTS
Post by: godlock2006 on April 25, 2007, 12:19:09 PM
Zeriab what is a local switch and a precondition?
Title: Re: 2 EVENTS
Post by: Zeriab on April 25, 2007, 07:05:16 PM
local switch
A local switch is local to the event itself in the sense that you can't check which local switches a certain event have in another event.
There are 4 local switches you can turn on and off on each event. A, B, C, D

pre-condition
before-condition.

In this case it is a condition that must be met be before the event page is evaluated.
If the condition is not met then the page will not be considered.

Remember that the highest valid page is the one being processed.
Title: Re: 2 EVENTS
Post by: godlock2006 on April 25, 2007, 08:01:49 PM
K thanks ;D
Title: Re: [RESOLVED] 2 EVENTS
Post by: Zeriab on April 26, 2007, 04:18:41 PM
I assume this means the problem is resolved.
Correct me if I am wrong ^_^