isaacsol 10 Report post Posted May 25, 2007 Class 2 - Basic Non-Reoccurring Events In RMXP there is a feature called Switches. In this lesson I will be explaining them in full detail and how they can be used effectively. Switches Switches are a feature that when used can prevent certain events happening over and over again while at the same time, make events appear and therefore allow the game to progress and get to the end. Assignment: I thought that it would be better to give a practical instead of me just reeling off lots of info like my last class. So I have made a project with a basic event quests that is using switches. Your assignment is to post here the details of how the system works to the best of your capability. Click here to get the project. First person to get it right will be rewarded with a new Title - Event Switch Master Share this post Link to post Share on other sites
Zeriab 9 Report post Posted May 27, 2007 In the system there is a Wood event, which gives a choice. (Do you want to collect the wood?) If No is selected nothing happens (except a message) If Yes is selected a wood item is added to the inventory and a switch (001) is turned on. The wood event has a second page where the precondition is switch 001. It has no graphic and has no commands. When switch 001 is turned on the second page being of higher order will determine the events properties. (Note: this event only has 2 pages) The result is that the wood seems to disappear. The next event I will comment on is the man, which possible is a carpenter. This event has 3 pages where the last two needs certain preconditions to be fulfilled. You have to collect the word (previous event) before you can continue the puzzle with this man. This means that the first page contains a text, which tells to get some word. The second page's precondition is exactly switch 001, which is turned on when you collect the wood. When the event's second page is triggered a couple of messages and a fade-out-fade-in animation to give the feel of time has passed will be displayed. 1 wood item will be removed from the inventory and another switch (002) will be turned on. The precondition of the 3rd page is exactly switch 001 and 002 being on, so the third page will be in effect. Here is just a message saying 'Thank You' or so... Finally there are the bridge events. There are 2 types, one with 2 pages and one with just 1 page. The bridge events with 1 page shows only a part of the fixed bridge and have a precondition which is switch 001 and switch 002 being on. They will not show anything before the conditions are fulfilled. The ones with 2 pages are those which show the broken bridge. On page 1 is the broken bridge part chosen as the graphic. There are no preconditions on page 1. On page 2 is the fixed bridge part chosen as the graphic. The preconditions for page 2 are the same as for the 1 page bridge events. (Switch 001 and 002) This way it will look like the bridge is fixed when the two switches is turned on. All in all we have a wood event which turns 1 switch on, a man event which turns on another switch when the first switch has been turned on and finally a couple of bridge events which will show a whole bridge when both switch has been turned on. Thus we get a nice and simple puzzle. - Zeriab Share this post Link to post Share on other sites
isaacsol 10 Report post Posted May 27, 2007 excellent Zeriab, you have earned the title of Event Switch Master, ill add to your name in the class register. Share this post Link to post Share on other sites