Main Menu
  • Welcome to The RPG Maker Resource Kit.

[VX] Attempting a simple puzzle that's escaping me..

Started by thanatos2k1, July 26, 2011, 03:53:36 PM

0 Members and 1 Guest are viewing this topic.

thanatos2k1

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?

modern algebra


Twb6543

Or use conditional branches with script code that then turn on self switches.

thanatos2k1

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?

Lunarea

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
My current project:

thanatos2k1

Yeah, I figured it out, thank you for all your help guys :)