Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   RPGMaker (http://zelaron.com/forum/forumdisplay.php?f=188)
-   -   Treasure Chest (http://zelaron.com/forum/showthread.php?t=41760)

HungryforLint 2007-02-05 12:06 AM

Treasure Chest
 
Hey guys, so I started making a new game on RM2K3 and Ive forgotten alot of the coding and switches/variables. I'm trying to get a Treasure Chest to work, I know how to use switches to make a chest open and close. But im wondering if theres an easier way then making a NEW event for EVERY Chest. Is there like a common event I can set up for all treasure chests in general to open. give item. close. and stop. without haveing to make a switch for every chest?
It'd be alot of help. thanks
Alex

Lenny 2007-02-05 09:29 AM

Yay! It's been ages since I saw this question!

http://zelaron.com/forum/showthread....treasure+chest
http://zelaron.com/forum/showthread....treasure+chest

Both answer the question.

HungryforLint 2007-02-05 09:37 PM

AH.. thanks Lenny. So pretty much I have to make a new switch for each treasure chest... woe is me. :[

Noob101 2007-02-06 06:42 AM

Quote:

Originally Posted by HungryforLint
So pretty much I have to make a new switch for each treasure chest...

OR...you could make a chest like this:

1. Make a fork condition and set it to:
Event "this Event" - "Down" Face Dir
Do not check else case.

** INSIDE THE FORK CONDITION **
2. Play Sound Effect (optional) - Open Chest
3. Set Message Style (optional) - Normal, Down, Nothing checked
(* Below can be anything you wish. Whatever you want to be found in the
chest *)
4. Change Gold Held - Increase - 25gp
5. Show Message - You found 25gp.
** END OF THE FORK CONDITION **

6. Move event: this event, face left

(thanks to JDBoone)


All times are GMT -6. The time now is 04:43 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.