The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: RedKnight on August 28, 2007, 11:44:53 AM

Title: How Do I Make A Treasure Chest? (RM2K3)
Post by: RedKnight on August 28, 2007, 11:44:53 AM
Also, how do I make it appear open when the Characters have gotten the Item? And finally, if the Characters check the Chest while it's open, how do I make it say that it's empty?
Title: Re: How Do I Make A Treasure Chest? (RM2K3)
Post by: shaz on August 28, 2007, 12:27:41 PM
you use switches and multiple event pages for this.

On the first event page have the graphic set to the closed chest.  All the settings are the default ones.  In the event commands, do the chest opening animation (Move Event, set to This Event, and face in different directions as appropriate) along with the sound effect.  Show the message that an item has been found, increase items in inventory, and finally set a switch on (let's call it ChestOpened).

Then on the second event page have the graphic set to the opened chest.  All the settings are the default ones, except one - under Preconditions, set the first switch to ChestOpened is ON.  Then in the event commands show the message that the chest is empty.

In RMXP you'd do almost exactly the same thing, except instead of a global switch you'd use a local switch.  It doesn't look like RM2K3 has local switches, so you'd have to have a new switch for each chest you wanted to do this with.
Title: Re: How Do I Make A Treasure Chest? (RM2K3)
Post by: RedKnight on August 28, 2007, 02:19:08 PM
Alright. Thanks.