The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => Topic started by: thanatos2k1 on July 26, 2011, 03:53:36 PM

Title: [VX] Attempting a simple puzzle that's escaping me..
Post by: thanatos2k1 on July 26, 2011, 03:53:36 PM
Ok, what I want to do is make it so that you have to collect some herbs and it makes an acidic potion, then, using the acid potion, the player would destroy boulders and move through the map.  One problem:

I have 15 herbs to gather and 18 boulders to destroy (So there can be errors).  My problem is that I don't want to use 33 variables or switches to turn
these on and off, and reset if theres a mistake..  How can I have an easy reset without so many switches or variables.. or is it impossible?
Title: Re: [VX] Attempting a simple puzzle that's escaping me..
Post by: modern algebra on July 26, 2011, 05:24:05 PM
Err, use self-switches?
Title: Re: [VX] Attempting a simple puzzle that's escaping me..
Post by: Twb6543 on July 26, 2011, 05:28:38 PM
Or use conditional branches with script code that then turn on self switches.
Title: Re: [VX] Attempting a simple puzzle that's escaping me..
Post by: thanatos2k1 on July 26, 2011, 10:10:30 PM
Well, Self-Switches are the most efficient I would say.. however..  What if you use all 15 herbs and have no exit? Ahhh... Wait I was thinking about it while typing..  It would work with one variable.. seeing as if you "RESET" it sets a variable trigger that will turn the switches back off??  That would work, no?
Title: Re: [VX] Attempting a simple puzzle that's escaping me..
Post by: Lunarea on July 27, 2011, 12:59:30 AM
All you really need is one global switch and one extra page on your events.

I've made a quick project for you so you can see the events:
http://www.mediafire.com/?qay5zgdhn97g3bk
Title: Re: [VX] Attempting a simple puzzle that's escaping me..
Post by: thanatos2k1 on July 27, 2011, 05:11:25 AM
Yeah, I figured it out, thank you for all your help guys :)